Re: CREATE OR REPLACE FUNCTION

Поиск
Список
Период
Сортировка
От Gavin Sherry
Тема Re: CREATE OR REPLACE FUNCTION
Дата
Msg-id Pine.LNX.4.21.0109221500040.22857-100000@linuxworld.com.au
обсуждение исходный текст
Ответ на Re: CREATE OR REPLACE FUNCTION  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: CREATE OR REPLACE FUNCTION  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
On Sat, 22 Sep 2001, Bruce Momjian wrote:

[snip]

> I assume it preserves the function's OID?  That is something we have
> needed for a while because it would keep oid references to the function
> the same, or at least we should give people the option of keeping the
> oid.

Yes. The idea is that the oid is preserved. I have assumed that people
would always want it to be if they were replacing the function. Would
there be a time when someone wouldn't want to do this? It would be pretty
simple to update the patch to handle a syntax which specified that a new
oid should be generated.

Gavin


В списке pgsql-patches по дате отправления:

Предыдущее
От: Gavin Sherry
Дата:
Сообщение: Re: CREATE OR REPLACE FUNCTION
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: CREATE OR REPLACE FUNCTION