Re: query optimizer questions - Mailing list pgsql-general

From Allan Engelhardt
Subject Re: query optimizer questions
Date
Msg-id 3B44CBFE.57031106@cybaea.com
Whole thread Raw
In response to Re: Re: query optimizer questions  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-general
Peter Eisentraut wrote:

> Allan Engelhardt writes:
>
> > I find locale support in PostgreSQL confusing.  The locale of the
> > current user at the time of initialising the database determines the
> > collating order (e.g. is 'a' < 'A').  This in turns affect things like
> > indexing (as described below).
>
> This is because if you were allowed to change this setting after the
> database initialization, your indexes would get corrupted.  (Recall that
> (some) indexes are sorted, and the index scanning code relies on indexes
> being sorted a certain way.)

Yes, I understand WHY it is, I just wish it was documented somewhere obvious.  But nevermind - that what these mailing
listsare for! 

Thanks, all.


Allan.


pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: OpenBSD Trusted Path Execution (TPE) compatibility?
Next
From: Scott Holmes
Date:
Subject: A PGLIB lo_export function for Win32