Re: pg_dump --split patch
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Wilson <david.t.wilson@gmail.com>
Cc: Joel Jacobson <joel@gluefinance.com>, Gurjeet Singh <singh.gurjeet@gmail.com>, pgsql-hackers@postgresql.org
Date: 2010-12-29T00:24:57Z
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
David Wilson <david.t.wilson@gmail.com> writes: > On Tue, Dec 28, 2010 at 2:39 PM, Joel Jacobson <joel@gluefinance.com> wrote: >> I didn't include the arguments in the file name, as it would lead to very >> long file names unless truncated, and since the problem is very limited, I >> think we shouldn't include it. It's cleaner with just the name part of the >> tag in the file name. > Why not place all overloads of a function within the same file? Then, > assuming you order them deterministically within that file, we sidestep the > file naming issue and maintain useful diff capabilities, since a diff of the > function's file will show additions or removals of various overloaded > versions. If you've solved the deterministic-ordering problem, then this entire patch is quite useless. You can just run a normal dump and diff it. regards, tom lane