Re: pg_dump --split patch - Mailing list pgsql-hackers

From Joel Jacobson
Subject Re: pg_dump --split patch
Date
Msg-id AANLkTin0uxW1NiR2-CTqZC_-ikZUktyN5Y+TDHQm45w2@mail.gmail.com
Whole thread Raw
In response to Re: pg_dump --split patch  (David Wilson <david.t.wilson@gmail.com>)
List pgsql-hackers
2010/12/29 David Wilson <david.t.wilson@gmail.com>
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.


Good suggestion. I agree, trying to put variations of the same function in different files simply becomes too ugly and the problem it solves is not big enough.
Then we just need to make sure pg_dump dumps objects in the same order, and let diff take care of the rest of the challenge. :)

Brb with a new patch.

--
Best regards,

Joel Jacobson
Glue Finance

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: "writable CTEs"
Next
From: Heikki Linnakangas
Date:
Subject: Re: SSI SLRU strategy choices