postgresql/src/test/subscription
Peter Eisentraut 073ce405d6 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.
2017-05-24 19:40:30 -04:00
..
t Fix table syncing with different column order 2017-05-24 19:40:30 -04:00
.gitignore
Makefile
README

src/test/subscription/README

Regression tests for subscription/logical replication
=====================================================

This directory contains a test suite for subscription/logical replication.

Running the tests
=================

    make check

NOTE: This creates a temporary installation, and some tests may
create one or multiple nodes, for the purpose of the tests.

NOTE: This requires the --enable-tap-tests argument to configure.