Re: [HACKERS] CREATE OR REPLACE VIEW/TRIGGER - Mailing list pgadmin-hackers

From Peter Eisentraut
Subject Re: [HACKERS] CREATE OR REPLACE VIEW/TRIGGER
Date
Msg-id Pine.LNX.4.30.0110242143580.647-100000@peter.localdomain
Whole thread Raw
In response to Re: [HACKERS] CREATE OR REPLACE VIEW/TRIGGER  (Bill Studenmund <wrstuden@netbsd.org>)
List pgadmin-hackers
Bill Studenmund writes:

> > Our current CREATE OR REPLACE FUNCTION perserves the OID of the
> > function.  Is there similar functionality you need where a simple
> > DROP (ignore the error), CREATE will not work?
>
> If possible, it's nice to not have commands whose error codes you ignore.
> That way if you see an error, you know you need to do something about it.

Technically, it's not an error, it's an "exception condition".  This might
make you feel better when consciously ignoring it. ;-)

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgadmin-hackers by date:

Previous
From: Bill Studenmund
Date:
Subject: Re: [HACKERS] CREATE OR REPLACE VIEW/TRIGGER
Next
From: "Steve Boyle \(Roselink\)"
Date:
Subject: