pgsql: Fix parent of WCO qual.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Fix parent of WCO qual.
Дата
Msg-id E1gjVYG-00046l-NZ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix parent of WCO qual.

The parent of some WCO expressions was, apparently by accident, set to
the the source of DML queries, rather than the target table.  This
causes problems for the upcoming pluggable storage work, because the
target and source table might be of different storage types.

It's possible that this is already problematic, but neither
experimenting nor inquiries on -hackers have found them. So don't
backpatch for now.

Author: Andres Freund
Discussion: https://postgr.es/m/20181205225213.hiwa3kgoxeybqcqv@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/148e632c05412aa46b450d31cc598a0a33222792

Modified Files
--------------
src/backend/executor/nodeModifyTable.c        |  2 +-
src/test/regress/expected/updatable_views.out | 28 +++++++++++++--------------
2 files changed, 15 insertions(+), 15 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Finish reverting "recheck_on_update" patch.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Add test case for ON DELETE NO ACTION/RESTRICT