Re: Support for %TYPE in CREATE FUNCTION

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jan Wieck <JanWieck(at)yahoo(dot)com>
Cc: Ian Lance Taylor <ian(at)airs(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Support for %TYPE in CREATE FUNCTION
Date: 2001-05-30 22:01:59
Message-ID: 200105302201.f4UM1xO11318@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

Browse pgsql-hackers by date

  From Date Subject
Next Message Don Baccus 2001-05-30 22:53:36 Re: intelligence in writing a query ...
Previous Message Jan Wieck 2001-05-30 22:00:05 Re: Support for %TYPE in CREATE FUNCTION

Browse pgsql-patches by date

  From Date Subject
Next Message Don Baccus 2001-05-30 22:56:35 Re: Support for %TYPE in CREATE FUNCTION
Previous Message Jan Wieck 2001-05-30 22:00:05 Re: Support for %TYPE in CREATE FUNCTION