Re: create or replace language

From: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
To: "Andreas 'ads' Scherbaum" <adsmail(at)wars-nicht(dot)de>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: create or replace language
Date: 2008-05-15 11:29:11
Message-ID: 482C1E87.20002@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2008-05-15 12:43:24 Re: Patch to change psql default banner v6
Previous Message Andreas 'ads' Scherbaum 2008-05-15 10:35:24 Re: create or replace language