pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Natalie Wenz <nataliewenz@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Database migration across different operating systems
Date: Wed, 09 Jan 2019 08:32:37 +0000
Message-ID: <87sgy2p70d.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <EC1500C0-AD6C-45E6-8E97-6A8709A5DF58@gmail.com>
References: <A740E5D2-34BE-46AA-A9FE-50F510E771EC@gmail.com>
	<875zuzr06z.fsf@news-spur.riddles.org.uk>
	<EC1500C0-AD6C-45E6-8E97-6A8709A5DF58@gmail.com>

>>>>> "Natalie" == Natalie Wenz <nataliewenz@gmail.com> writes:

 Natalie> Thanks, Andrew. 

 Natalie> All of our databases do have lc_collate=C. To check my
 Natalie> understanding, if that were not the case, we’d need to
 Natalie> reindex, but since it is all lc_collate=C, we shouldn’t run
 Natalie> into that particular problem. Did I get that right?

To be completely precise, it's not enough to have lc_collate=C, you also
need to not have indexed columns with individually specified non-default
collations. i.e. what matters is not so much the database setting, but
the actual collation being used for indexed columns (because it's the
collation that determines the order in which values appear in the
index).

-- 
Andrew (irc:RhodiumToad)




view thread (10+ messages)

Message-ID: <87sgy2p70d.fsf@news-spur.riddles.org.uk>
Permalink:  ../87sgy2p70d.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/87sgy2p70d.fsf@news-spur.riddles.org.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: andrew@tao11.riddles.org.uk, nataliewenz@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Database migration across different operating systems
  In-Reply-To: <87sgy2p70d.fsf@news-spur.riddles.org.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox