Re: Re: [HACKERS] Support for %TYPE in CREATE FUNCTION

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

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Roberto Mello <rmello@cc.usu.edu>
Cc: pgsql-hackers@postgresql.org, pgsql-patches@postgresql.org
Date: 2001-04-28T22:45:39Z
Lists: pgsql-hackers
> > Using %TYPE makes it easier to write a function which is independent
> > of the definition of a table.  That is, minor changes to the types
> > used in the table may not require changes to the function.
> 
> 	Wow! This would be _very_ useful! It's something I wish PostgreSQL 
> had and I miss it everytime I write functions and remember PL/SQL.
> 
> 	Thanks a lot Ian, I hope this one makes it in (hopefully for 7.1.1)

Sorry, only in 7.2.  No new features in minor releases unless they are
very safe.

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