Re: TODO item: support triggers on columns - Mailing list pgsql-hackers

From Tom Lane
Subject Re: TODO item: support triggers on columns
Date
Msg-id 18185.1110739679@sss.pgh.pa.us
Whole thread Raw
In response to Re: TODO item: support triggers on columns  ("Greg Sabino Mullane" <greg@turnstep.com>)
Responses Re: TODO item: support triggers on columns
List pgsql-hackers
"Greg Sabino Mullane" <greg@turnstep.com> writes:
> By the way, does anyone know what the tgattr field in pg_triggers
> is for?

http://developer.postgresql.org/docs/postgres/catalog-pg-trigger.html
says "currently unused" and a desultory search through the sources
confirms that.  I imagine it was put there with the intent of adding
column info later on.  However, being a fixed-width array, I don't
actually see that it would be useful for anything much ... you'd at
least want to change it to a normal array.

BTW, if you don't have a convenient way of grepping the entire PG
source tree and quickly viewing all the hits on a particular symbol,
I *highly* recommend setting up something that can do that.  I use
emacs + glimpse but there are probably newer tools out there.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Kurt Roeckx
Date:
Subject: Re: date_trunc problem in HEAD
Next
From: Bruce Momjian
Date:
Subject: Re: Bumping libpq version number?