Re: Suggested "easy" TODO: pg_dump --from-list - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Suggested "easy" TODO: pg_dump --from-list
Date
Msg-id 6606.1290579343@sss.pgh.pa.us
Whole thread Raw
In response to Re: Suggested "easy" TODO: pg_dump --from-list  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Suggested "easy" TODO: pg_dump --from-list
Re: Suggested "easy" TODO: pg_dump --from-list
List pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
>> Well, very little about pg_dump is very [E], IMNSHO. The question in my
>> mind here is what format the list file will take

> I was thinking same format as pg_restore -l, only without the dumpIDs.

Nope ... those strings are just helpful comments, they aren't really
guaranteed to be unique identifiers.  In any case, it seems unlikely
that a user could expect to get the more complicated cases exactly right
other than by consulting "pg_dump | pg_restore -l" output.  Which makes
the use-case kind of dubious to me.

I don't say that this wouldn't be a useful feature, but you need a
better spec than this.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: Horizontal Write Scaling
Next
From: Radosław Smogura
Date:
Subject: JDBC and Binary protocol error, for some statements