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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-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

Browse pgsql-hackers by date

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

Browse pgsql-patches by date

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