Re: [HACKERS] Re: can postgres do this? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Re: can postgres do this?
Date
Msg-id 1221.939996789@sss.pgh.pa.us
Whole thread Raw
In response to Re: can postgres do this?  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
List pgsql-hackers
Thomas Lockhart <lockhart@alumni.caltech.edu> writes:
> I'm not sure why we throw an error if you drop a
> function which does not exist, since that makes it tough to blindly do
> the "drop/create" pair. Why don't we just signal a warning or notice
> instead?

It doesn't matter unless you are inside a transaction --- but I can
see the value of replacing a function definition inside a transaction.

Perhaps "no such <whatever>" should be downgraded from ERROR to NOTICE
for all DROP-type commands.  Another TODO item...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: [HACKERS] The new globe
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] TAB doesn't work in psql