From: | Pascal Scheffers <pascal(at)scheffers(dot)net> |
---|---|
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>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Support for %TYPE in CREATE FUNCTION |
Date: | 2001-06-01 06:15:39 |
Message-ID: | Pine.LNX.4.32L2.0106010800530.21797-100000@io |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Hi,
I've been following this discussion with interest. As a member of the
OpenACS community I'd like to see the %TYPE feature in PG ASAP. I also
understand the reluctance of some of the PG team members in implementing
something that is not anywhere near 'perfect'.
I like Jans' (and Ian?) suggestion of ONLY doing resolution at create
time, as a full 'tracking-the-current-definition' seems to too tough for
now. I think it will be very acceptable to a lot of us out there to have
to drop and re-create our own dependancies. A lot of times, the changes
may not require recoding of the function (except for languages like C).
For OpenACS, schema changes on production machines will mostly be managed
by upgrade sql scripts. Although not 'perfect', having to drop and
recreate functions during upgrade are only minor problems.
> AND expect it to do more than that. So a NOTICE at the
> actual usage, telling that x%TYPE for y got resolved to
> basetype z and will currently NOT follow later changes to x
> should do it.
So if you could implement it like that, we will be VERY happy.
Regards,
Pascal Scheffers
From | Date | Subject | |
---|---|---|---|
Next Message | Hannu Krosing | 2001-06-01 06:28:36 | Re: Imperfect solutions |
Previous Message | Bruce Momjian | 2001-06-01 04:45:45 | Re: Imperfect solutions |
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Conway | 2001-06-01 06:31:51 | Fw: Isn't pg_statistic a security hole - Solution Proposal |
Previous Message | Bruce Momjian | 2001-06-01 04:47:15 | Re: Patch to remove sort files, temp tables, unreferenced files |