pgsql: Fix handling of temp and unlogged tables in FOR ALL TABLESpubli

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Fix handling of temp and unlogged tables in FOR ALL TABLESpubli
Дата
Msg-id E1hH2AO-0004op-Ld@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix handling of temp and unlogged tables in FOR ALL TABLES publications

If a FOR ALL TABLES publication exists, temporary and unlogged tables
are ignored for publishing changes.  But CheckCmdReplicaIdentity()
would still check in that case that such a table has a replica
identity set before accepting updates.  To fix, have
GetRelationPublicationActions() return that such a table publishes no
actions.

Discussion: https://www.postgresql.org/message-id/f3f151f7-c4dd-1646-b998-f60bd6217dd3@2ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bb385c4fb0f4eb33d2bc7e484061565ba51cc790

Modified Files
--------------
src/backend/utils/cache/relcache.c  |  7 +++++++
src/test/subscription/t/100_bugs.pl | 37 ++++++++++++++++++++++++++++++++++++-
2 files changed, 43 insertions(+), 1 deletion(-)


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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: pgsql: Fix plan created for inherited UPDATE/DELETE with alltables exc
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix plan created for inherited UPDATE/DELETE with all tables exc