diff options
author | Robert Haas <rhaas@postgresql.org> | 2018-02-28 12:16:09 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2018-02-28 12:16:09 -0500 |
commit | 2af28e603319224e87fd35ab62f36ef6de45eaac (patch) | |
tree | e92ca99fdef719d885db4f51846531a6a42ab675 /src/backend/utils/adt/encode.c | |
parent | 73797b7884ee1722127f27ecfcede99367139dc0 (diff) | |
download | postgresql-2af28e603319224e87fd35ab62f36ef6de45eaac.tar.gz postgresql-2af28e603319224e87fd35ab62f36ef6de45eaac.zip |
For partitionwise join, match on partcollation, not parttypcoll.
The previous code considered two tables to have the partition scheme
if the underlying columns had the same collation, but what we
actually need to compare is not the collations associated with the
column but the collation used for partitioning. Fix that.
Robert Haas and Amit Langote
Discussion: http://postgr.es/m/0f95f924-0efa-4cf5-eb5f-9a3d1bc3c33d@lab.ntt.co.jp
Diffstat (limited to 'src/backend/utils/adt/encode.c')
0 files changed, 0 insertions, 0 deletions