Re: CREATE OR REPLACE TRIGGER

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
Cc: "Gavin Sherry" <swm(at)linuxworld(dot)com(dot)au>, pgsql-patches(at)postgresql(dot)org
Subject: Re: CREATE OR REPLACE TRIGGER
Date: 2002-08-11 19:26:32
Message-ID: 19572.1029093992@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Dave Page" <dpage(at)vale-housing(dot)co(dot)uk> writes:
>> The use-case for replacing a trigger is not visible to the
>> naked eye.

> It would be nice for pgAdmin 'cos we can then let users alter properties
> of objects at will.

So implement it as DROP TRIGGER/CREATE TRIGGER. There's no need for the
backend to provide a special case shortcut...

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2002-08-11 20:09:43 Re: [GENERAL] workaround for lack of REPLACE() function
Previous Message Dave Page 2002-08-11 19:17:40 Re: CREATE OR REPLACE TRIGGER