Thread

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

    Goran Thyni <goran@bildbasen.se> — 1998-11-09T16:27:03Z

    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