Discussion:
Sorting Sequence
(too old to reply)
Naomi Walker
2004-09-15 15:35:38 UTC
Permalink
We are seeing some different sorting sequences (when using BETWEEN)
amoung our various operating systems. My guess is that some paramater
controls this, but I have yet to find where this is located.

We are using 7.3.4 on Solaris servers, and 7.3.4 and 7.4 on Red Hat Linux.

Thanks,
Naomi
--
-------------------------------------------------------------------------
Naomi Walker Chief Information Officer
Eldorado Computing, Inc. ***@eldocomp.com 602-604-3100
-------------------------------------------------------------------------
Freedom is not worth having if it does not include the freedom to make
mistakes. -Mahatma Gandhi
-------------------------------------------------------------------------

-- CONFIDENTIALITY NOTICE --

This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you.

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
Naomi Walker
2004-09-15 17:20:56 UTC
Permalink
We are looking at enabling LOCALE, on 7.3.4 and 7.4.3 Postgres
installations, yet LOCALE is not listed under the options to enable.
Anyone know?
Post by Naomi Walker
We are seeing some different sorting sequences (when using BETWEEN)
amoung our various operating systems. My guess is that some paramater
controls this, but I have yet to find where this is located.
We are using 7.3.4 on Solaris servers, and 7.3.4 and 7.4 on Red Hat Linux.
Thanks,
Naomi
--
-------------------------------------------------------------------------
Naomi Walker Chief Information Officer
Eldorado Computing, Inc. ***@eldocomp.com 602-604-3100
-------------------------------------------------------------------------
Freedom is not worth having if it does not include the freedom to make
mistakes. -Mahatma Gandhi
-------------------------------------------------------------------------

-- CONFIDENTIALITY NOTICE --

This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you.

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
Naomi Walker
2004-09-15 17:24:38 UTC
Permalink
I should have looked further. I see LOCALE is always enabled.



From the postgresql change history. The --enable-locale compile option
was removed and locale support is now permanently turned on. In fact,
it looks like it cannot be turned off. For 7.3.4 onwards.

HISTORY: * Always enable locale in compile, remove --enable-locale
option
--
-------------------------------------------------------------------------
Naomi Walker Chief Information Officer
Eldorado Computing, Inc. ***@eldocomp.com 602-604-3100
-------------------------------------------------------------------------
Freedom is not worth having if it does not include the freedom to make
mistakes. -Mahatma Gandhi
-------------------------------------------------------------------------

-- CONFIDENTIALITY NOTICE --

This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you.

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ***@postgresql.org
G u i d o B a r o s i o
2004-09-15 17:29:34 UTC
Permalink
Naomi,

try on the psql
show all;

this will print the runtime parameters.
lc_* are the ones you are looking for, I guess.

ie, set a new value.
set lc_time='en_GB';

Best wishes,
Guido
Post by Naomi Walker
We are looking at enabling LOCALE, on 7.3.4 and 7.4.3 Postgres
installations, yet LOCALE is not listed under the options to enable.
Anyone know?
Post by Naomi Walker
We are seeing some different sorting sequences (when using BETWEEN)
amoung our various operating systems. My guess is that some paramater
controls this, but I have yet to find where this is located.
We are using 7.3.4 on Solaris servers, and 7.3.4 and 7.4 on Red Hat Linux.
Thanks,
Naomi
--
-------------------------------------------------------------------------
Naomi Walker Chief Information Officer
-------------------------------------------------------------------------
Freedom is not worth having if it does not include the freedom to make
mistakes. -Mahatma Gandhi
-------------------------------------------------------------------------
-- CONFIDENTIALITY NOTICE --
This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you.
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ***@postgresql.org
Loading...