mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Record parents of triggers
This let us get rid of a recently introduced ugly hack (commit
1fa846f1c9
).
Author: Álvaro Herrera
Reviewed-by: Amit Langote, Tom Lane
Discussion: https://postgr.es/m/20200217215641.GA29784@alvherre.pgsql
This commit is contained in:
@ -6951,6 +6951,17 @@ SCRAM-SHA-256$<replaceable><iteration count></replaceable>:<replaceable>&l
|
||||
<entry>The table this trigger is on</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><structfield>tgparentid</structfield></entry>
|
||||
<entry><type>oid</type></entry>
|
||||
<entry><literal><link linkend="catalog-pg-trigger"><structname>pg_trigger</structname></link>.oid</literal></entry>
|
||||
<entry>
|
||||
Parent trigger that this trigger is cloned from, zero if not a clone;
|
||||
this happens when partitions are created or attached to a partitioned
|
||||
table.
|
||||
</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><structfield>tgname</structfield></entry>
|
||||
<entry><type>name</type></entry>
|
||||
|
Reference in New Issue
Block a user