pg.ddx.io  pgsql-patches@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: daveg <daveg@sonic.net>
Cc: pgsql-patches@postgresql.org
Subject: Re: pg_dump additional options for performance
Date: Mon, 21 Jul 2008 11:19:40 -0400
Message-ID: <4884A90C.1030003@dunslane.net> (raw)
In-Reply-To: <203.1216622870@sss.pgh.pa.us>
References: <20080720030749.GA18846@tamriel.snowman.net>
	<1216529229.19656.835.camel@ebony.2ndQuadrant>
	<1216535862.19656.845.camel@ebony.2ndQuadrant>
	<20080720214335.GB18846@tamriel.snowman.net>
	<1216591180.19656.848.camel@ebony.2ndQuadrant>
	<20080721011829.GC18846@tamriel.snowman.net>
	<20080721014942.GC30869@sonic.net>
	<20080721015850.GD18846@tamriel.snowman.net>
	<18415.1216611275@sss.pgh.pa.us>
	<1216621040.19656.867.camel@ebony.2ndQuadrant>
	<203.1216622870@sss.pgh.pa.us>



Tom Lane wrote:
> Simon Riggs <simon@2ndquadrant.com> writes:
>   
>> I also suggested having three options
>> --want-pre-schema
>> --want-data
>> --want-post-schema
>> so we could ask for any or all parts in the one dump. --data-only and
>> --schema-only are negative options so don't allow this.
>> (I don't like those names either, just thinking about capabilities)
>>     
>
> Maybe invert the logic?
>
> 	--omit-pre-data
> 	--omit-data
> 	--omit-post-data
>
> Not wedded to these either, just tossing out an idea...
>
> 			
>   

Please, no. Negative logic seems likely to cause endless confusion.

I'd even be happier with --schema-part-1 and --schema-part-2 if we can't 
find some more expressive way of designating them.

cheers

andrew



view thread (54+ messages)  latest in thread

Message-ID: <4884A90C.1030003@dunslane.net>
Permalink:  ../4884A90C.1030003@dunslane.net/
Also on:    postgresql.org/message-id/4884A90C.1030003@dunslane.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-patches@postgresql.org
  Cc: andrew@dunslane.net, tgl@sss.pgh.pa.us, simon@2ndquadrant.com, sfrost@snowman.net, daveg@sonic.net
  Subject: Re: pg_dump additional options for performance
  In-Reply-To: <4884A90C.1030003@dunslane.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox