Re: Difference between C and en_US.UTF-8 Collate & CType in Postgres 10.x

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: Debraj Manna <subharaj(dot)manna(at)gmail(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Difference between C and en_US.UTF-8 Collate & CType in Postgres 10.x
Date: 2018-09-16 16:25:17
Message-ID: 22688.1537115117@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> writes:
> Debraj Manna wrote:
>> Will there be any other difference like in terms of index size, etc?

> The size will be the same, just the ordering will be different.

Just to clarify, index sizes might not be *exactly* the same. Different
ordering rules might lead to different upper-page-split choices as the
index grows, resulting in different amounts of unused space in some index
pages. It should average out to about the same thing though.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Nicolas Karolak 2018-09-17 07:44:58 Re: postgresql HA solution for different network domain
Previous Message Laurenz Albe 2018-09-16 15:59:19 Re: Difference between C and en_US.UTF-8 Collate & CType in Postgres 10.x