A table\'s rows were mistakenly deleted from the database. We have a db backup which results in a sql file that can restored like so:
psql -h localhost -d pr
There is an easy way.
'pg_restore' has a '--table/-t' option.
pg_restore -a -t your_table /path/to/dump.sql
Use '-h' for remote host. See other options here