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
>