Re: RfD: more powerful "any" types

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: RfD: more powerful "any" types
Дата
Msg-id 8EEEF818-32D8-46E7-A795-46F245CE7E1A@kineticode.com
обсуждение исходный текст
Ответ на Re: RfD: more powerful "any" types  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sep 9, 2009, at 10:22 AM, Tom Lane wrote:

>> Well, only if you write your functions in C. I'd like to be able to
>> write sprintf() in PL/pgSQL. Or PL/Perl, for that matter.
>
> I think you're confusing the point with a secondary issue, which is  
> what
> access we provide to these pseudotypes in PLs.  To write sprintf in a
> PL, you'd at least need the ability to cast "any" to text.  I guess  
> you
> can do that with anyelement, though, so maybe there is nothing much  
> here
> except an overly restrictive safety check.


Yes, exactly.

Best,

David


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: RfD: more powerful "any" types
Следующее
От: Tom Lane
Дата:
Сообщение: Re: RfD: more powerful "any" types