pgsql: Properly dump dropped foreign table cols in binary-upgrade mode.

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Properly dump dropped foreign table cols in binary-upgrade mode.
Дата
Msg-id E1UrXLH-0004ks-88@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Properly dump dropped foreign table cols in binary-upgrade mode.

In binary upgrade mode, we need to recreate and then drop dropped
columns so that all the columns get the right attribute number. This is
true for foreign tables as well as for native tables. For foreign
tables we have been getting the first part right but not the second,
leading to bogus columns in the upgraded database. Fix this all the way
back to 9.1, where foreign tables were introduced.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5734eb2c92a5efd665186c52b8eebdf2880868b5

Modified Files
--------------
src/bin/pg_dump/pg_dump.c |   12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Properly dump dropped foreign table cols in binary-upgrade mode.
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Properly dump dropped foreign table cols in binary-upgrade mode.