pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Cory Nemelka <cnemelka@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Issues with inconsistent COLLATION installation
Date: Mon, 09 Sep 2019 16:29:37 -0400
Message-ID: <3361.1568060977@sss.pgh.pa.us> (raw)
In-Reply-To: <CAMe5Gn0chjG68n9sjU1N3_9d12o0DEsfXd9mVVdUARK3wmvw+A@mail.gmail.com>
References: <CAMe5Gn0XjsopeHCs0YGNGc=nnXmWg+mrbiXFCjoq-+0Hk=NDLQ@mail.gmail.com>
	<CAMe5Gn1gOdbr6PhquNFEcADo8LC8JegrUGD74pEkuGn2Mxn7kA@mail.gmail.com>
	<CAMe5Gn0chjG68n9sjU1N3_9d12o0DEsfXd9mVVdUARK3wmvw+A@mail.gmail.com>

Cory Nemelka <cnemelka@gmail.com> writes:
> Here is encoding for existing database:
>                                   List of databases
> ┌───────────┬──────────┬──────────┬─────────────┬─────────────┬───────────────────────┐
> │   Name    │  Owner   │ Encoding │   Collate   │    Ctype    │   Access
> privileges   │
> ├───────────┼──────────┼──────────┼─────────────┼─────────────┼───────────────────────┤
> │ thedatabase │ postgres │ UTF8     │ en_US.UTF-8 │ en_US.UTF-8 │
>             │

Hmm.  It's interesting that the collate/ctype locales say "UTF-8"
where locale -a says "utf8".  It's not apparent to me what relation
that might have to your observed problem, but it suggests that
this cluster doesn't exactly have a pristine history.  Did you
perhaps try to move the data files from one platform to another?

			regards, tom lane





view thread (7+ messages)  latest in thread

Message-ID: <3361.1568060977@sss.pgh.pa.us>
Permalink:  ../3361.1568060977@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3361.1568060977@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, cnemelka@gmail.com
  Subject: Re: Issues with inconsistent COLLATION installation
  In-Reply-To: <3361.1568060977@sss.pgh.pa.us>
  References: <CAMe5Gn0XjsopeHCs0YGNGc=nnXmWg+mrbiXFCjoq-+0Hk=NDLQ@mail.gmail.com> <CAMe5Gn1gOdbr6PhquNFEcADo8LC8JegrUGD74pEkuGn2Mxn7kA@mail.gmail.com> <CAMe5Gn0chjG68n9sjU1N3_9d12o0DEsfXd9mVVdUARK3wmvw+A@mail.gmail.com> <3361.1568060977@sss.pgh.pa.us>

* 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