]> granicus.if.org Git - postgresql/commit
Don't invoke arbitrary code inside a possibly-aborted transaction.
authorRobert Haas <rhaas@postgresql.org>
Tue, 24 Jan 2017 13:57:10 +0000 (08:57 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 24 Jan 2017 13:57:10 +0000 (08:57 -0500)
commit289992c462b504ffa289202ce8fc34a56b4048c3
treee7cd0398b763e55f48b76149521eeda3c755fa9b
parentb1ecb9b3fcfb76edb3461ce561d049c8fb9e710d
Don't invoke arbitrary code inside a possibly-aborted transaction.

The code here previously tried to call the partitioning operator, but
really the right thing to do (and the safe thing to do) is use
datumIsEqual().

Amit Langote, but I expanded the comment and fixed a compiler warning.
src/backend/catalog/partition.c
src/backend/utils/adt/datum.c