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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly



---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to