Re: Support for %TYPE in CREATE FUNCTION - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Support for %TYPE in CREATE FUNCTION
Date
Msg-id 200105302201.f4UM1xO11318@candle.pha.pa.us
Whole thread Raw
In response to Re: Support for %TYPE in CREATE FUNCTION  (Jan Wieck <JanWieck@Yahoo.com>)
List 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,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: Support for %TYPE in CREATE FUNCTION
Next
From: Don Baccus
Date:
Subject: Re: intelligence in writing a query ...