Re: [HACKERS] Re: can postgres do this?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Re: can postgres do this?
Дата
Msg-id 1221.939996789@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: can postgres do this?  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Список 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 по дате отправления:

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: [HACKERS] The new globe
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] TAB doesn't work in psql