Re: PL/C functions - Mailing list pgsql-general

From Dennis Gearon
Subject Re: PL/C functions
Date
Msg-id 3F39626E.9000007@cvc.net
Whole thread Raw
In response to Re: PL/C functions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
This is where a variable argument list for a function would come in handy, if ISO C had such for 'strxfrm()'. The
localecould be supplied INLINE, instead of taken from the machine LOCALE. Maybe I'll just copy the library functions
andchange them to use an extra argument for LOCALE. 

Tom Lane wrote:

> Dennis Gearon <gearond@cvc.net> writes:
>
>>One final note on this topic, (for me), if I write a C function that changes one of the LOCALES:
>
>
> ... you will probably break things.  Read the comments in
> /src/backend/utils/adt/pg_locale.c.
>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
>


pgsql-general by date:

Previous
From: Sean Chittenden
Date:
Subject: Re: Simple DBI question
Next
From: "Tim Edwards"
Date:
Subject: Sorting Problem