Re: create or replace language

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: create or replace language
Дата
Msg-id 482C1E87.20002@enterprisedb.com
обсуждение исходный текст
Ответ на Re: create or replace language  (Andreas 'ads' Scherbaum <adsmail@wars-nicht.de>)
Ответы Re: create or replace language  (Andreas 'ads' Scherbaum <adsmail@wars-nicht.de>)
Список pgsql-patches
Andreas 'ads' Scherbaum wrote:
> Attached is another version of the patch (still missing documentation),
> which changes the language owner on update (the owner can still be
> changed in pg_pltemplate).

The other CREATE OR REPLACE commands don't change the owner, so CREATE
OR REPLACE LANGUAGE shouldn't do that either.

>> So do we want to replace any data (in my opinion only the validator is
>> left) at all or just skip any error message?

I think you should be able to change handler and validator functions,
and the trusted flag. Or is there a reason to not allow that?

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: Andreas 'ads' Scherbaum
Дата:
Сообщение: Re: create or replace language
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Patch to change psql default banner v6