mirror of
https://github.com/postgres/postgres.git
synced 2026-04-08 10:38:53 -04:00
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. |
||
|---|---|---|
| .. | ||
| 001_rep_changes.pl | ||
| 002_types.pl | ||
| 003_constraints.pl | ||
| 004_sync.pl | ||
| 005_encoding.pl | ||