Re: [DOCS] suggestion for improving TMPDIR and "--format" docs for pg_dump

2007-03-19 Thread Bruce Momjian
Mark Stosberg wrote:
> It woud also be nice to document that the full names "custom" and "tar" are
> supported. Longer names can be nice for clarity.
> 
> ( Unfortunately, wrong formats like "txx" also work instead of throwing
> an error. )

I don't see that with current CVS:

$ pg_dump --format=x test
pg_dump: invalid output format "x" specified

-- 
  Bruce Momjian  <[EMAIL PROTECTED]>  http://momjian.us
  EnterpriseDB   http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

---(end of broadcast)---
TIP 4: Have you searched our list archives?

   http://archives.postgresql.org


Re: [DOCS] suggestion for improving TMPDIR and "--format" docs for pg_dump

2007-03-19 Thread Mark Stosberg
Bruce Momjian wrote:
> Mark Stosberg wrote:
>> It woud also be nice to document that the full names "custom" and "tar" are
>> supported. Longer names can be nice for clarity.
>>
>> ( Unfortunately, wrong formats like "txx" also work instead of throwing
>> an error. )
> 
> I don't see that with current CVS:
> 
>   $ pg_dump --format=x test
>   pg_dump: invalid output format "x" specified

Bruce,

I think the specific test case would have to start with a valid letter,
like "t", and then include invalid characters. Try this instead:

 pg_dump --format=tx test

 Mark

---(end of broadcast)---
TIP 2: Don't 'kill -9' the postmaster