e.g.
-
pg_dump -U [username] -h [hostname] -p [port number] -d [source database] -t [source_table] > [output_filename].sql
-
cat [output_filename].sql | psql -U [username] -h [hostname] -p [port number] -d [target database]
If the [target database] already has the table that you want to copy, then run the pg_dump with a "-a" flag to dump 'data only'