From: | Dennis Gearon <gearond(at)cvc(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Joe Conway <mail(at)joeconway(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: PL/C functions |
Date: | 2003-08-12 21:55:58 |
Message-ID: | 3F39626E.9000007@cvc.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
This is where a variable argument list for a function would come in handy, if ISO C had such for 'strxfrm()'. The locale could be supplied INLINE, instead of taken from the machine LOCALE. Maybe I'll just copy the library functions and change them to use an extra argument for LOCALE.
Tom Lane wrote:
> Dennis Gearon <gearond(at)cvc(dot)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(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Edwards | 2003-08-12 21:58:40 | Sorting Problem |
Previous Message | Sean Chittenden | 2003-08-12 21:49:26 | Re: Simple DBI question |