Re: Support for %TYPE in CREATE FUNCTION

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Jan Wieck <JanWieck@yahoo.com>
Cc: Ian Lance Taylor <ian@airs.com>, Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgresql.org
Date: 2001-05-30T22:01:59Z
Lists: pgsql-hackers
> > I return to the question of whether the Postgres development team is
> > interested in support for %TYPE.  If the team is not interested, then
> > I'm wasting my time.  I'm seeing a no from you and Tom Lane, and a
> > maybe from Bruce Momjian.
> 
>     I don't say we shouldn't have support for %TYPE.  But  if  we
>     have  it, ppl will assume it tracks later schema changes, but
>     with what I've seen so far it either could have  severe  side
>     effects  on  other languages or just doesn't do it.  A change
>     like %TYPE support is a little too fundamental  to  get  this
>     quick yes/no decision just in a few days.

Can't we just throw a NOTICE and let them do it.  Seems harmless to me.

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