From: | Goran Thyni <goran(at)bildbasen(dot)se> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/lib stringinfo.c' |
Date: | 1998-11-09 16:27:03 |
Message-ID: | 364717D7.752881DE@bildbasen.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | D'Arcy J.M. Cain | 1998-11-09 17:52:45 | Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/lib stringinfo.c' |
Previous Message | Tom Lane | 1998-11-09 15:27:27 | Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/lib stringinfo.c' |