Re: CREATE TABLE LIKE INCLUDING TRIGGERS
| От | jian he |
|---|---|
| Тема | Re: CREATE TABLE LIKE INCLUDING TRIGGERS |
| Дата | |
| Msg-id | CACJufxGGXnRP+Em521KvPVOmnPtya2zpPqrTuYDmrSY=AFVmfw@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: CREATE TABLE LIKE INCLUDING TRIGGERS (Zsolt Parragi <zsolt.parragi@percona.com>) |
| Ответы |
Re: CREATE TABLE LIKE INCLUDING TRIGGERS
|
| Список | pgsql-hackers |
On Wed, Jan 21, 2026 at 8:13 PM Zsolt Parragi <zsolt.parragi@percona.com> wrote:
>
> Hello!
>
> I tested the patch, it works as described, but I did notice one possible issue:
>
> Shouldn't this preserve the enabled state of the triggers, or if it
> doesn't, should the documentation include this limitations?
>
I intended to document it as
<para>
All non-internal triggers on the original table will be
created on the new table.
By default, these triggers fire in "origin" and "local" modes. Refer
to <link linkend="sql-altertable"><command>ALTER
TABLE</command></link>
to modify the firing condition.
</para>
what do you think?
--
jian
https://www.enterprisedb.com/
В списке pgsql-hackers по дате отправления: