Re: CREATE OR REPLACE TRIGGER

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

> -----Original Message-----
> From: Gavin Sherry [mailto:swm(at)linuxworld(dot)com(dot)au]
> Sent: 11 August 2002 17:01
> To: Tom Lane
> Cc: pgsql-patches(at)postgresql(dot)org
> Subject: Re: [PATCHES] CREATE OR REPLACE TRIGGER
>
>
> On Sun, 11 Aug 2002, Tom Lane wrote:
>
> > Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> writes:
> > > From memory, I think some of the pgadmin guys jumped up and down
> > > about it for a while:
> > > http://fts.postgresql.org/db/mw/msg.html?mid=1353289.
> >
> > Hmm. I remember Poure asking repeatedly for CREATE OR
> REPLACE VIEW,
> > and that makes a lot of sense to me, because other things
> *can* depend
> > on a view. (Unfortunately, by the same token it's a lot harder to
> > do.)
>
> I know. I am finishing off the patch now.
>
> > The use-case for replacing a trigger is not visible to the
> naked eye.
>
> That's okay then. I should have thought about it harder.

It would be nice for pgAdmin 'cos we can then let users alter properties
of objects at will. Currently we have a mix of things that can and can't
be editted. We often get asked 'why can we do X but not Y in pgAdmin'
and then have to explain that it's a PostgreSQL that doesn't allow us to
do Y (at least not with some nasty client side hacks that can break
dependencies in many cases - admittedly not with a trigger).

The more things our users can tweak on the fly, the better imho.

Regards, Dave.

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-08-11 19:26:32 Re: CREATE OR REPLACE TRIGGER
Previous Message Tom Lane 2002-08-11 19:16:46 Re: create or replace rule/view