Re: Suggested "easy" TODO: pg_dump --from-list

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Suggested "easy" TODO: pg_dump --from-list
Date: 2010-11-24 03:24:09
Message-ID: 4CEC8559.9070807@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/23/2010 09:33 PM, Josh Berkus wrote:
> Hackers,
>
> I just thought of a good feature to put on the [E] list for TODO, if
> people agree: a switch to pg_dump called "--from-list" which would take
> a filename and dump the list of objects in that file.
>
> Objections to putting this on the TODO?

Well, very little about pg_dump is very [E], IMNSHO. The question in my
mind here is what format the list file will take. For example, how would
we specify a function? Would we need to specify all the argument types
(or at least the IN arguments)? It's not as easy as a list with
pg_restore, which is just a list of TOC ids, and all the rest is just a
comment in the list file.

I certainly don't think we should put this on the list without at least
having the idea fleshed out some more.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joachim Wieland 2010-11-24 04:08:00 Re: Suggested "easy" TODO: pg_dump --from-list
Previous Message David Fetter 2010-11-24 03:21:39 Re: Tab completion for view triggers in psql