pg_dump: Refactor getIndexes()

Started by Peter Eisentrautover 4 years ago2 messageshackers
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

This rearranges the version-dependent pieces in the new more modular style.

I had originally written this before pre-9.2 support was removed and it
had a few more branches then. But I think it is still useful, and there
are some pending patches that might add more branches for newer versions.

Attachments:

0001-pg_dump-Refactor-getIndexes.patchtext/plain; charset=UTF-8; name=0001-pg_dump-Refactor-getIndexes.patchDownload+44-76
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut (#1)
Re: pg_dump: Refactor getIndexes()

Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:

This rearranges the version-dependent pieces in the new more modular style.
I had originally written this before pre-9.2 support was removed and it
had a few more branches then. But I think it is still useful, and there
are some pending patches that might add more branches for newer versions.

I didn't double-check the details, but +1 for doing this (and similarly
elsewhere, whenever anyone feels motivated to do so).

regards, tom lane