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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Mark Stosberg <mark(at)summersault(dot)com>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [DOCS] suggestion for improving TMPDIR and "--format" docs for pg_dump
Date: 2007-03-22 19:43:24
Message-ID: 200703221943.l2MJhOj17367@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-patches

Mark Stosberg wrote:
> 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

Thanks for the report. I have corrected this and the fix will be in
PostgreSQL 8.3. Interestingly, we support non-documented option
"append" and "file" too.

Patch attached and applied.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

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

Attachment Content-Type Size
/rtmp/diff text/x-diff 2.3 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2007-03-22 20:17:42 Re: Re: [DOCS] suggestion for improving TMPDIR and "--format" docs for pg_dump
Previous Message Bruce Momjian 2007-03-20 17:44:09 Re: Re: [DOCS] should we have a separate page that clearly defines what a minor release is and why it's a good idea to keep up with them?

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-03-22 19:53:44 Re: [HACKERS] Stats processor not restarting
Previous Message Zdenek Kotala 2007-03-22 18:35:44 Re: OS timezone files support