Re: Variadic polymorpic functions

From: Vincenzo Romano <vincenzo(dot)romano(at)notorand(dot)it>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Variadic polymorpic functions
Date: 2010-01-25 07:16:55
Message-ID: 3eff28921001242316q1b89aa1fm31c31239aeb01abb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2010/1/23 Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>:
> 2010/1/22 Vincenzo Romano <vincenzo(dot)romano(at)notorand(dot)it>:
>> 2010/1/22 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
>>> Vincenzo Romano <vincenzo(dot)romano(at)notorand(dot)it> writes:
>>>> 2010/1/22 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
>>>>> regression=# CREATE FUNCTION q( fmt text, variadic args "any" )
>>>
>>>> And this would allow for a stdarg-like argument list?
>>>
>>> Yeah, it should work, given suitable C code.
>>
>> Great!
>>
>
> I wrote this function year ago.
>
> look on content
>
> http://pgfoundry.org/projects/pstcollection/

Pavel,
that format() function should be included into official contribs.
What about HOWTO compile?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2010-01-25 07:23:45 Re: Postgresql HA on MSCS over VMWARE
Previous Message Hashimoto Yuya 2010-01-25 06:56:23 Re: 100% of CPU utilization postgres process