aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2013-06-25 13:46:34 -0400
committerAndrew Dunstan <andrew@dunslane.net>2013-06-25 13:46:34 -0400
commit81166a2f7e1e792a746c907fe9e0318cc736311a (patch)
tree11ea5349c9755caa07c58a4893b734599f8cbcbe /src/backend/tcop/postgres.c
parent985bd7d49726c9f178558491d31a570d47340459 (diff)
downloadpostgresql-81166a2f7e1e792a746c907fe9e0318cc736311a.tar.gz
postgresql-81166a2f7e1e792a746c907fe9e0318cc736311a.zip
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.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions