Re: Final proposal for resolving C-vs-newC issue

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Final proposal for resolving C-vs-newC issue
Date: 2000-11-20 07:16:34
Message-ID: 3.0.5.32.20001120181634.0380a4b0@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 21:31 19/11/00 -0500, Tom Lane wrote:
>Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:
>> At 17:16 19/11/00 -0500, Tom Lane wrote:
>>>
http://www.postgresql.org/cgi/cvsweb.cgi/pgsql/src/backend/utils/fmgr/README
>
>> There is no mention of the handling of toasted values for old C functions.
>
>Did you not read to the end?

'fraid not...8-(. Thanks.

>: To allow old-style dynamic functions to work safely on toastable datatypes,
>: the handler for old-style functions will automatically detoast toastable
>: arguments before passing them to the old-style function. A new-style
>: function is expected to take care of toasted arguments by using the
>: standard argument access macros defined above.

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim Mikheev 2000-11-20 09:27:33 Re: WAL
Previous Message Christopher Kings-Lynne 2000-11-20 07:07:06 Table/Column Constraints