pgsql: psql: show cloned triggers in partitions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: psql: show cloned triggers in partitions
Дата
Msg-id E1fYvtl-0005Ab-G0@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
psql: show cloned triggers in partitions

In a partition, row triggers that had been cloned from their parent
partitioned table would not be listed at all in psql's \d, which could
surprise users, per insistent complaint from Ashutosh Bapat (though his
aim was elsewhere).  The simplest possible fix, suggested by Peter
Eisentraut, seems to be to list triggers marked as internal if they have
a row in pg_depend that points to some other trigger.

Author: Álvaro Herrera
Discussion: https://postgr.es/m/20180618165910.p26vhk7dpq65ix54@alvherre.pgsql

Branch
------
master

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

Modified Files
--------------
src/bin/psql/describe.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fix crash when ALTER TABLE recreates indexes on partitions
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: Fix "base" snapshot handling in logical decoding