aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayfuncs.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-01-04 14:36:34 -0500
committerRobert Haas <rhaas@postgresql.org>2017-01-04 14:36:34 -0500
commitf1b4c771ea74f42447dccaed42ffcdcccf3aa694 (patch)
treef1e7aa7a4b767602ff57b30dbcb459a7c86d1da5 /src/backend/utils/adt/arrayfuncs.c
parent3e353a7bc2dd6a9edfffe7e045c810b421f7ecc4 (diff)
downloadpostgresql-f1b4c771ea74f42447dccaed42ffcdcccf3aa694.tar.gz
postgresql-f1b4c771ea74f42447dccaed42ffcdcccf3aa694.zip
Fix reporting of constraint violations for table partitioning.
After a tuple is routed to a partition, it has been converted from the root table's row type to the partition's row type. ExecConstraints needs to report the failure using the original tuple and the parent's tuple descriptor rather than the ones for the selected partition. Amit Langote
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions