pg_get_triggerdef

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема pg_get_triggerdef
Дата
Msg-id 01e801c2e78e$fe2a1be0$6500a8c0@fhp.internal
обсуждение исходный текст
Ответы Re: pg_get_triggerdef
Re: pg_get_triggerdef
Re: pg_get_triggerdef
Список pgsql-patches
This patch creates a function named pg_get_triggerdef that takes the oid of
a trigger as its parameter.  It is basically copied from the pg_dump code.

Once we're certain it's perfect, we could probably save some effort in
pg_dump by using the function.

Once it's committed, I will be modifying psql to show trigger definitions,
instead of just the name.

I have tested it with a bunch of different triggers, parameters, constraint
triggers, weird names, different functions, etc and it seems to be OK.

Cheers,

Chris

Вложения

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