Re: Change collate postgresql

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: marcelo mendoza <jmarcelo(dot)mendoza(at)gmail(dot)com>, pgsql-novice(at)postgresql(dot)org
Subject: Re: Change collate postgresql
Date: 2020-08-19 05:59:52
Message-ID: 196166551a133215f5f3f7510f1403c82c774bff.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Tue, 2020-08-18 at 16:00 -0400, marcelo mendoza wrote:
> I have the following list of databases, but in record 3 you can see that the COLLATE has a space in the definition

I cannot see a space in the image, but it looks certainly weird.

What do you get for

SELECT d.datname,
c.collname,
c.oid AS coll_oid
FROM pg_database AS d
LEFT JOIN pg_collation AS c ON d.datcollate = c.collname;

Did you directly manipulate "pg_database" at some point?

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message marcelo mendoza 2020-08-19 13:06:52 Re: Change collate postgresql
Previous Message marcelo mendoza 2020-08-18 20:00:19 Change collate postgresql