Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> Can you retrieve what the server is using for LOCALE settings? In
> particular, what the collate order is? It seems that my index is sorting
> case insensetively, and I can't see a reason why.
You can run contrib/pg_controldata (to become mainstream in 7.3 btw)
to see the server's LC_COLLATE and LC_CTYPE settings.
regards, tom lane