Re: PG-10 + ICU and abbreviated keys

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: Andreas Joseph Krogh <andreas(at)visena(dot)com>
Cc: "Psql_General (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: PG-10 + ICU and abbreviated keys
Date: 2017-11-13 20:46:08
Message-ID: CAH2-Wzn-n3-qD1AN8o0sO6SyL=iP9WOY_Sk8KHCh5LjaowWkkQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Nov 13, 2017 at 12:40 PM, Peter Geoghegan <pg(at)bowt(dot)ie> wrote:
>> Do I have to explicitly specify collation when using ORDER by on that column for index and abbreviated keys to be used?
>
> Only if you didn't define the column with a per-column collation initially.

BTW, if you specifically want to quickly verify whether or not
abbreviated keys were used, you can do that by setting "trace_sort =
on", and possibly setting "client_min_messages = LOG", too.

There should be quite a bit of debug output from that that
specifically mentions abbreviated keys.

--
Peter Geoghegan

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Joseph Krogh 2017-11-13 20:48:01 Re: PG-10 + ICU and abbreviated keys
Previous Message Peter Geoghegan 2017-11-13 20:40:47 Re: PG-10 + ICU and abbreviated keys