[COMMITTERS] pgsql: Don't invoke arbitrary code inside a possibly-abortedtransactio

Поиск
Список
Период
Сортировка
От Robert Haas
Тема [COMMITTERS] pgsql: Don't invoke arbitrary code inside a possibly-abortedtransactio
Дата
Msg-id E1cW1ew-0007wn-41@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/289992c462b504ffa289202ce8fc34a56b4048c3

Modified Files
--------------
src/backend/catalog/partition.c | 20 ++++++++++++++------
src/backend/utils/adt/datum.c   |  4 ++++
2 files changed, 18 insertions(+), 6 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: [COMMITTERS] pgsql: Fix interaction of partitioned tables with BulkInsertState.
Следующее
От: Robert Haas
Дата:
Сообщение: [COMMITTERS] pgsql: Remove unused variable.