Re: RfD: more powerful "any" types

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: RfD: more powerful "any" types
Дата
Msg-id 162867790909091119g72a9c736q170a3e1adee44d3f@mail.gmail.com
обсуждение исходный текст
Ответ на Re: RfD: more powerful "any" types  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: RfD: more powerful "any" types  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
2009/9/9 Alvaro Herrera <alvherre@commandprompt.com>:
> Pavel Stehule escribió:
>
>> we are able to write sprintf(text, variadic "any") returns text, but only in C
>
> Hmm, should we provide that function in core?

We should it, but I prefer some pgfoundry or contrib package. sprintf
is really far to SQL. What more, we knows types, so some format tags
are useless. Using original sprintf function is possible, but needs
lot of code, because you need to transform PostgreSQL types to C
types, and we have not any helping function for this task.

Some similar to plpgsql's RAISE statement is some +/- 20 rows

regards
Pavel Stehule


>
> --
> Alvaro Herrera                                http://www.CommandPrompt.com/
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support
>


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: RfD: more powerful "any" types
Следующее
От: James Pye
Дата:
Сообщение: Re: RfD: more powerful "any" types