Re: printf-like format strings - Mailing list pgsql-general

From Terry Lee Tucker
Subject Re: printf-like format strings
Date
Msg-id 200701221354.32533.terry@leetuckert.net
Whole thread Raw
In response to printf-like format strings  (Alexander Presber <aljoscha@weisshuhn.de>)
List pgsql-general
On Monday 22 January 2007 12:59 pm, Alexander Presber <aljoscha@weisshuhn.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@turbocorp.com
www.turbocorp.com


pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: More grist for the PostgreSQL vs MySQL mill
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] Autovacuum Improvements