Re: printf-like format strings

From: Terry Lee Tucker <terry(at)leetuckert(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: printf-like format strings
Date: 2007-01-22 18:54:32
Message-ID: 200701221354.32533.terry@leetuckert.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Monday 22 January 2007 12:59 pm, Alexander Presber <aljoscha(at)weisshuhn(dot)de>
thus communicated:
> Hello,
>
> does somebody know of an extension for postgres that allows the use
> of printf-like format strings?
> PL/Perl comes to mind, but how could one take care of the variable
> argument count?
>
> Thanks for any advice!
>
> Sincerely
> Alexander Presber
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org/

If I understand the question correctly, couldn't you use pop @_ in the Perl
function?
--
Terry Lee Tucker
Turbo's IT Manager
Turbo, division of Ozburn-Hessey Logistics
2251 Jesse Jewell Pkwy NE
Gainesville, GA 30501
Tel: (336) 372-6812 Fax: (336) 372-6812 Cell: (336) 363-4719
terry(at)turbocorp(dot)com
www.turbocorp.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kenneth Marshall 2007-01-22 19:00:34 Re: [HACKERS] Autovacuum Improvements
Previous Message Scott Marlowe 2007-01-22 18:53:35 Re: More grist for the PostgreSQL vs MySQL mill