pg_restore --data-only ignored

Started by Mike Finnalmost 25 years ago2 messagesbugs
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us
In reply to: Mike Finn (#2)
Re: pg_restore --data-only ignored

Mike Finn <mike.finn@tacticalExecutive.com> writes:

While upgrading to 7.1.3 (from 7.1.2) I discovered that pg_restore was not
honouring the --data-only command line option.

Looks like this is already fixed in current sources. Thanks for the
report though!

regards, tom lane

#2Mike Finn
mike.finn@tacticalExecutive.com

While upgrading to 7.1.3 (from 7.1.2) I discovered that pg_restore was not
honouring the --data-only command line option. Can't actually remember if
it worked in 7.1.2 or not.

Particulars:

postgresql-7.1.3.tar.gz
compiled under Linux mandrake 7.2

command used from a shell script

pg_restore --dbname=${dbName}2 --data-only -v --superuser=postgres $dbDump

I could get around this by using a list file and then editing it to only
include data lines, but thought it should be reported as a bug.

--
=============================
Mike Finn
Tactical Executive Systems
mike.finn@tacticalExecutive.com