pg_restore --data-only ignored

Lists: pgsql-bugs
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mike Finn <mike(dot)finn(at)tacticalExecutive(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: pg_restore --data-only ignored
Date: 2001-11-26 22:57:28
Message-ID: 15819.1006815448@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Mike Finn <mike(dot)finn(at)tacticalExecutive(dot)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


From: Mike Finn <mike(dot)finn(at)tacticalExecutive(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: pg_restore --data-only ignored
Date: 2001-11-27 00:05:27
Message-ID: 9ttsof9ttsof$1hqt$1@news.tht.nethqt9ttsof$1hqt$1@news.tht.net@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

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(dot)finn(at)tacticalExecutive(dot)com