Re: pg_trigger.tgparentid - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_trigger.tgparentid
Date
Msg-id 17506.1581976778@sss.pgh.pa.us
Whole thread Raw
In response to pg_trigger.tgparentid  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> As mentioned in https://postgr.es/m/20191231194759.GA24692@alvherre.pgsql
> I propose to add a new column to pg_trigger, which allows us to remove a
> pg_depend scan when cloning triggers when adding/attaching partitions.
> (It's not that I think the scan is a performance problem, but rather
> than notionally we try not to depend on pg_depend contents for this kind
> of semantic derivation.)

It'd be nice if the term "parent trigger" were defined somewhere in
this.  Seems all right otherwise.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Vik Fearing
Date:
Subject: Re: Duplicate words in comments
Next
From: Dave Cramer
Date:
Subject: Re: Error on failed COMMIT