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

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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Roberto Mello <rmello(at)cc(dot)usu(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: Re: [HACKERS] Support for %TYPE in CREATE FUNCTION
Date: 2001-04-28 22:45:39
Message-ID: 200104282245.f3SMjdG11119@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
> > 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(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

Responses

pgsql-hackers by date

Next:From: Raoul CallaghanDate: 2001-04-28 22:55:07
Subject: perlDBD::pg error! Please help (have all details in post)
Previous:From: Peter EisentrautDate: 2001-04-28 22:30:10
Subject: Re: Re: v7.1.1 branched and released on Tuesday ...

pgsql-patches by date

Next:From: Tatsuo IshiiDate: 2001-04-29 07:29:52
Subject: Re: Cyrillic to UNICODE conversion
Previous:From: Roberto MelloDate: 2001-04-28 14:55:32
Subject: Re: [HACKERS] Support for %TYPE in CREATE FUNCTION

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