Re: pg_dump --split patch
Aidan Van Dyk <aidan@highrise.ca>
From: Aidan Van Dyk <aidan@highrise.ca>
To: Gurjeet Singh <singh.gurjeet@gmail.com>
Cc: Joel Jacobson <joel@gluefinance.com>, pgsql-hackers@postgresql.org, Andrew Dunstan <andrew@dunslane.net>, David Wilson <david.t.wilson@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-12-29T14:23:38Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
pg_dump: Output functions deterministically sorted
- 7b583b20b1c9 9.3.0 cited
-
When sorting functions in pg_dump, break ties (same name) by number of arguments
- 1acc06a1f4ae 9.0.0 cited
On Wed, Dec 29, 2010 at 9:11 AM, Gurjeet Singh <singh.gurjeet@gmail.com> wrote: > On Wed, Dec 29, 2010 at 8:31 AM, Joel Jacobson <joel@gluefinance.com> wrote: >> >> >> 2010/12/29 Aidan Van Dyk <aidan@highrise.ca> >>> >>> On Wed, Dec 29, 2010 at 2:27 AM, Joel Jacobson <joel@gluefinance.com> >>> wrote: >>> >>> <description of split stuff> >>> >>> So, how different (or not) is this to the "directory" format that was >>> coming out of the desire of a parallel pg_dump? >> >> Not sure what format you are referring to? Custom, tar or plain text? >> I noticed there are two undocumented formats as well, "append" and "file". >> I tried both of these undocumented formats, but it did not procude any >> directory structure of the dumped objects. >> Could you please explain how to use the "directory format" is such a >> format already exists? >> I can't find it in the documentation nor the source code of HEAD. > > It is still being discussed as a patch to pg_dump. Google for "directory > archive format for pg_dump", specifically in archives.postgresql.org. Specifically: Message-ID: <AANLkTimUELTXwRSQDQNwxik_k1y3YcH1u-9NgHZqpi9e@mail.gmail.com> > AFAIK, that applies to parallel dumps of data (may help in --schema-only > dumps too), and what you are trying is for schema. Right, but one of the things it does is break the dump in to parts, and put them in a directory/file organization. Both are doing it for different reasons, but doing pretty much the same thing. But can the layout/organization of Joachim's patch can be made "human friendly" in the vein of Joel's vision? a. -- Aidan Van Dyk Create like a god, aidan@highrise.ca command like a king, http://www.highrise.ca/ work like a slave.