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

Re: CREATE OR REPLACE FUNCTION

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, pgsql-patches(at)postgresql(dot)org
Subject: Re: CREATE OR REPLACE FUNCTION
Date: 2001-09-22 15:57:00
Message-ID: 14405.1001174220@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> I just hate to add another psql help item and manual page for a REPLACE
> FUNCTION.  It seems to asymetrical.  

Huh?  Who said anything about a separate REPLACE FUNCTION command?  It's
just an option in CREATE.

I don't think that I'd care for a separate REPLACE FUNCTION command,
since that's just a peculiar spelling of ALTER FUNCTION, and
historically we've used ALTER for that sort of thing.  But that's not
what's being proposed here anyway.

			regards, tom lane

In response to

Responses

pgsql-patches by date

Next:From: Benjamin YuDate: 2001-09-22 20:07:04
Subject: postgresql-7.1.3 pg_ctl password authentication and startup
Previous:From: Bruce MomjianDate: 2001-09-22 15:52:13
Subject: Re: CREATE OR REPLACE FUNCTION

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