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

Re: CREATE OR REPLACE FUNCTION

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(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 21:33:44
Message-ID: 200109222133.f8MLXiS04819@candle.pha.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.

Oh, just an option to CREATE.  Sorry.  That sounds fine.  And can we add
this for other objects later?  Sounds like a good plan.

> 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.

Good.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-patches by date

Next:From: Peter EisentrautDate: 2001-09-22 23:28:03
Subject: Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal
Previous:From: Benjamin YuDate: 2001-09-22 20:07:04
Subject: postgresql-7.1.3 pg_ctl password authentication and startup

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