Обсуждение: pg_dump: Refactor getIndexes()

Поиск
Список
Период
Сортировка

pg_dump: Refactor getIndexes()

От
Peter Eisentraut
Дата:
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.
Вложения

Re: pg_dump: Refactor getIndexes()

От
Tom Lane
Дата:
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