On 8/4/17 05:41, Petr Jelinek wrote: >> Perhaps there's a missing check against pg_attribute.attisdropped >> somewhere? >> > > Good catch! Looks like we didn't initialize the attribute map for > locally dropped columns.
fixed > Once I did that I found there is also typo in > slot_modify_cstrings() which uses wrong value from the remote side, that > is also made visible by your example.
and fixed and added a test case -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services