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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-patches by date

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