Forum OpenACS Q&A: Response to copy table from one db to another

Collapse
Posted by Steve Woodcock on
Have a look at man psql, the -h and -U options, for something like this:
[dbmachine1]$ pg_dump -t the_table db1 | psql -h dbmachine2 db2
(Note I've never actually done this myself...)