1
0
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:
Alvaro Herrera
2020-02-27 13:23:33 -03:00
parent c4b0edb07e
commit b9b408c487
7 changed files with 40 additions and 54 deletions

View File

@ -6951,6 +6951,17 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</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>