Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/lib stringinfo.c'

Поиск
Список
Период
Сортировка
От Goran Thyni
Тема Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/lib stringinfo.c'
Дата
Msg-id 364717D7.752881DE@bildbasen.se
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/lib stringinfo.c'  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Actually, what would be *really* whizzy is some way of sprintf'ing
> into a StringInfo, with the ability to auto-expand the StringInfo as
> needed.  But that requires hooking into the low-level guts of printf,
> and AFAIK there's no portable way to do it short of providing your
> own complete printf implementation.  Not worth it.

Perl does it transparently, 
we could embed a perl-engine into the backend. :-)

I am joking but it would be more useful and probably
less work than writing a dynamic sprintf.

But their might be someone out-there on the 'Net that
has done a open-source dynamic sprintf already.mvh,
-- 
---------------------------------------------
Göran Thyni, sysadm, JMS Bildbasen, Kiruna


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/lib stringinfo.c'
Следующее
От: darcy@druid.net (D'Arcy J.M. Cain)
Дата:
Сообщение: Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/lib stringinfo.c'