public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: marcelo mendoza <[email protected]>
Cc: Laurenz Albe <[email protected]>
Cc: [email protected]
Subject: Re: Change collate postgresql
Date: Wed, 19 Aug 2020 09:56:06 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAPSkOeUX2+f+FvjRMBD6dHet0u5=992oOqA5cE2sE_p31x5nWQ@mail.gmail.com>
References: <CAPSkOeW8RNpaZfqVpwZz35dpL+8_gbc8dzmfV+AZOy9+wXEZfA@mail.gmail.com>
	<[email protected]>
	<CAPSkOeUX2+f+FvjRMBD6dHet0u5=992oOqA5cE2sE_p31x5nWQ@mail.gmail.com>

marcelo mendoza <[email protected]> writes:
> Hi Laurenz, this is the space en_US.UTF- 8 (the space is before the 8)
> Collate           | en_US.UTF-
>                   | 8
> The database was created in this way, without error, how can I fix this?

I'm guessing that you specified LC_COLLATE that way when you created
the database.  Postgres won't complain if setlocale() doesn't, which
it very possibly wouldn't.

I don't believe we offer any DDL command to change that, so a direct
UPDATE on pg_database is the only way.  Should be pretty harmless
as long as you don't try to change the setting to a functionally
different value.

			regards, tom lane





view thread (5+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Change collate postgresql
  In-Reply-To: <[email protected]>

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

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