Skip site navigation (1) Skip section navigation (2)

CREATE OR REPLACE FUNCTION

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: pgsql-patches(at)postgresql(dot)org
Subject: CREATE OR REPLACE FUNCTION
Date: 2001-09-20 13:58:37
Message-ID: Pine.LNX.4.21.0109202351590.26110-101000@linuxworld.com.au (view raw or flat)
Thread:
Lists: pgsql-patches
Hi guys,

Here's a patch I put together. I thought the Oracle-style 'CREATE OR
REPLACE FUNCTION' syntax might be useful to those doing lots of function
creation/development. It is against the 7.1.3 source.

I ran it through regress - all tests were fine. I also modified the
regress to use the potential OR REPLACE syntax. This also worked.

Gavin

Attachment: replacefunc.patch.gz
Description: application/x-gzip (2.2 KB)

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2001-09-20 20:09:06
Subject: Re: CREATE OR REPLACE FUNCTION
Previous:From: Peter EisentrautDate: 2001-09-20 13:15:41
Subject: Re: Patch to pg_ctl to better support paths containing

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group