pgsql: Fix rule-detection code for MERGE.

Поиск
Список
Период
Сортировка
От Dean Rasheed
Тема pgsql: Fix rule-detection code for MERGE.
Дата
Msg-id E1oyYqH-000lec-FI@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix rule-detection code for MERGE.

Use the relation's rd_rules structure to test whether it has rules,
rather than the relhasrules flag, which might be out of date.

Reviewed by Tom Lane.

Backpatch to 15, where MERGE was added.

Discussion: https://postgr.es/m/CAEZATCVkBVZABfw71sYvkcPf6tarcOFST5Bc6AOi-LFT9YdccQ%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7b2ccc5e03bf16d1e1bbabca25298108c839ec52

Modified Files
--------------
src/backend/parser/parse_merge.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: doc: Re-order Table 28.35 "Per-Backend Statistics Functions"
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Fix gen_node_support.pl for changed AclMode size