Thanks to visit codestin.com
Credit goes to postgrespro.com

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

From Terry Lee Tucker
Subject Re: printf-like format strings
Date
Msg-id [email protected]
Whole thread Raw
In response to printf-like format strings  (Alexander Presber <[email protected]>)
List pgsql-general
On Monday 22 January 2007 12:59 pm, Alexander Presber <[email protected]>
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
[email protected]
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