Re: Coping with 'C' vs 'newC' function language names - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Coping with 'C' vs 'newC' function language names
Date
Msg-id Pine.LNX.4.21.0011171713020.789-100000@peter.localdomain
Whole thread Raw
In response to Re: Coping with 'C' vs 'newC' function language names  (Jan Wieck <janwieck@Yahoo.com>)
Responses Re: Coping with 'C' vs 'newC' function language names  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Jan Wieck writes:

>     Just  successfully  loading  an  old-style C function doesn't
>     guarantee that it works anyway. I pointed out before that the
>     changes  due  to  TOAST  require  each  function  that  takes
>     arguments of varlen types to  expect  toasted  values.

Couldn't the function handler detoast the values before handing them to
the function?  That would be slower, but it would allow people to continue
to use the "simpler" interface.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Zeugswetter Andreas SB
Date:
Subject: AW: Coping with 'C' vs 'newC' function language names
Next
From: Tom Lane
Date:
Subject: Re: Database startup info