Re: DROP and ddl_command_end.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: DROP and ddl_command_end.
Дата
Msg-id CA+TgmoZyswync4yoi9bF4FshVHqn7UsdhJaXGLUkEujOH9tNsQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: DROP and ddl_command_end.  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Список pgsql-hackers
On Mon, Mar 9, 2020 at 11:54 PM Kyotaro Horiguchi
<horikyota.ntt@gmail.com> wrote:
> Yes, right and I know. I intended the sample being simple, but sorry
> for the bogus example. But the problem is not there. The problem is,
> the trigger is called for DROP, the function returns no tuples. I'm
> not sure DROP is the only command to cause the behavior, but if no
> tuples means DROP, we should document that behavior.  Otherwise, we
> need to document something  like:
>
> "pg_event_trigger_ddl_commands() may omit some of the commands and may
>  return no tuples."
>
> But it is quite odd.

Well, I'm not sure what you're saying here. It seems like you're
saying the feature is broken. If that's true, instead of documenting
that it doesn't work, shouldn't we fix it?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Alexey Kondratov
Дата:
Сообщение: Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line
Следующее
От: vignesh C
Дата:
Сообщение: Re: Parallel copy