Re: Variadic polymorpic functions - Mailing list pgsql-general

From Pavel Stehule
Subject Re: Variadic polymorpic functions
Date
Msg-id 162867791001242353o39903375q1a42bb9b3e107722@mail.gmail.com
Whole thread Raw
In response to Re: Variadic polymorpic functions  (Vincenzo Romano <vincenzo.romano@notorand.it>)
List pgsql-general
2010/1/25 Vincenzo Romano <vincenzo.romano@notorand.it>:
> 2010/1/25 Pavel Stehule <pavel.stehule@gmail.com>:
>> 2010/1/25 Vincenzo Romano <vincenzo.romano@notorand.it>:
>>> 2010/1/23 Pavel Stehule <pavel.stehule@gmail.com>:
>>>> 2010/1/22 Vincenzo Romano <vincenzo.romano@notorand.it>:
>>>>> 2010/1/22 Tom Lane <tgl@sss.pgh.pa.us>:
>>>>>> Vincenzo Romano <vincenzo.romano@notorand.it> writes:
>>>>>>> 2010/1/22 Tom Lane <tgl@sss.pgh.pa.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?
>>
>> There are not consensus about final semantic - some people prefer
>> sprintf like, some others PostgreSQL RAISE NOTICE like. so I'll keep
>> it outside. I looking on source of pstcollection - missing
>> documentation, missing regress test. I never rebuild it outside
>> PostgreSQL source tree - so it could be problem. Now: copy src to
>> contrib directory, make, make install - like standard contrib module.
>>
>> If you would to add some doc or notes, please, add it.
>
> I figured that out (from the Makefile)
> USE_PGXS=1 make install

ok, if you would, add account on pgfoundry

I'll add you to developer group for pstcollection

Pavel

>
>
> --
> Vincenzo Romano
> NotOrAnd Information Technologies
> NON QVIETIS MARIBVS NAVTA PERITVS
>

pgsql-general by date:

Previous
From: Vincenzo Romano
Date:
Subject: Re: Variadic polymorpic functions
Next
From: Scott Marlowe
Date:
Subject: Re: Questions about connection clean-up and "invalid page header"