Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/lib stringinfo.c'
Goran Thyni <goran@bildbasen.se>
From: Goran Thyni <goran@bildbasen.se>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <maillist@candle.pha.pa.us>, PostgreSQL-development <hackers@postgreSQL.org>
Date: 1998-11-09T16:27:03Z
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