Re: [GENERAL] ALTER FUNCTION

From: "Moray McConnachie" <moray(dot)mcconnachie(at)computing-services(dot)oxford(dot)ac(dot)uk>
To: <pgsql-general(at)postgresql(dot)org>
Cc: "Sascha Ziemann" <szi(at)khs-ag(dot)de>
Subject: Re: [GENERAL] ALTER FUNCTION
Date: 1999-12-02 12:43:22
Message-ID: 013c01bf3cc2$d25b6430$760e01a3@oucs.ox.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

UPDATE pg_proc SET prosrc='SQL statement' WHERE proname LIKE
'functionname';

seems to work for SQL queries at least. I doubt it's recommended,
though!

Moray

----------------------------------------------------------------------
----------------
Moray(dot)McConnachie(at)computing-services(dot)oxford(dot)ac(dot)uk
----- Original Message -----
From: Sascha Ziemann <szi(at)khs-ag(dot)de>
To: <pgsql-general(at)postgreSQL(dot)org>
Sent: Thursday, December 02, 1999 11:39 AM
Subject: [GENERAL] ALTER FUNCTION

> Hi,
>
> are there plans for an ALTER FUNCTION statement for Postgresql? I
> think functions are completely unuseable, when it is not possible to
> change the definition of a function. A bugfix in a function
requires
> the export of all data, a redefinition of the function and a
complete
> reimport. Or is there a simpler way?
>
> Sascha
>
> ************
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sascha Ziemann 1999-12-02 13:02:13 CREATE TRIGGER ON UPDATE
Previous Message Sascha Ziemann 1999-12-02 11:39:10 ALTER FUNCTION