Skip site navigation (1) Skip section navigation (2)

Re: Optional REFERENCES Feature in CREATE TRIGGER Command

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: hyip(at)site(dot)uottawa(dot)ca
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Optional REFERENCES Feature in CREATE TRIGGER Command
Date: 2004-12-13 03:10:50
Message-ID: 14874.1102907450@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
hyip(at)site(dot)uottawa(dot)ca writes:
> The attached patch adds the optional REFERENCES syntax in CREATE TRIGGER
> statement to make an automatic alias for OLD/NEW record during trigger
> setup.  The implementation of this new feature makes CREATE TRIGGER
> command more compatible to SQL standard, and allows the future
> implementation of executing SQL commands in trigger action.

I must be missing something, but AFAICS this patch doesn't actually *do*
anything useful.  It looks to me like you've implemented a write-only
addition to the system catalogs.  (And not even done a very good job of
that --- no documentation, no pg_dump support.)  What's the point?

			regards, tom lane

In response to

Responses

pgsql-patches by date

Next:From: Bruce MomjianDate: 2004-12-13 03:36:48
Subject: Re: pt_BR FAQ update
Previous:From: Bruce MomjianDate: 2004-12-13 02:49:52
Subject: Re: Optional REFERENCES Feature in CREATE TRIGGER Command

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group