diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-05-18 14:16:16 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-05-24 19:40:30 -0400 |
commit | 073ce405d68355eed36a11b41e558232ecf18201 (patch) | |
tree | 3bd3cd34873e57e0d1d147078a479642256d0d03 /src/backend/access/gist/gistproc.c | |
parent | 92ecb148e517704ec945dce513db71fee7790cfd (diff) | |
download | postgresql-073ce405d68355eed36a11b41e558232ecf18201.tar.gz postgresql-073ce405d68355eed36a11b41e558232ecf18201.zip |
Fix table syncing with different column order
Logical replication supports replicating between tables with different
column order. But this failed for the initial table sync because of a
logic error in how the column list for the internal COPY command was
composed. Fix that and also add a test.
Also fix a minor omission in the column name mapping cache. When
creating the mapping list, it would not skip locally dropped columns.
So if a remote column had the same name as a locally dropped
column (...pg.dropped...), then the expected error would not occur.
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions