In addition to Frank Heiken's answer, if you want to use INSERT instead of copy from stdin , you should specify the --inserts flag
pg_dump --host localhost --port 5432 --username postgres --format plain --verbose --file "<abstract_file_path>" --table public.tablename --inserts dbname
Please note that I have the --ignore-version flag --ignore-version because it is deprecated.
user3207874 May 24 '19 at 11:27 2019-05-24 11:27
source share