Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/lib stringinfo.c' - Mailing list pgsql-hackers

From Goran Thyni
Subject Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/lib stringinfo.c'
Date
Msg-id 364717D7.752881DE@bildbasen.se
Whole thread Raw
In response to Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/lib stringinfo.c'  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/lib stringinfo.c'
Next
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/lib stringinfo.c'