Re: Can LIKE under utf8 use INDEXes? - Mailing list pgsql-general

From Andreas Wenk
Subject Re: Can LIKE under utf8 use INDEXes?
Date
Msg-id 4A679695.8070903@netzmeister-st-pauli.de
Whole thread Raw
In response to Re: Can LIKE under utf8 use INDEXes?  (Robert James <srobertjames@gmail.com>)
Responses Re: Can LIKE under utf8 use INDEXes?
List pgsql-general
Robert James wrote:
> Thank you, Tom.  I guess I'm a bit confused about things here.  How can
> I find the locale of my database? (I wasn't able to find this in the docs).
> If I do have the locale set to 'C', do I loose anything by using utf8
> for all text fields?

use psql:

postgres=# \l+
                         List of databases
       Name      |   Owner   | Encoding |  Collation  |    Ctype    |
----------------+-----------+----------+-------------+-------------+
  postgres       | postgres  | UTF8     | en_US.UTF-8 | en_US.UTF-8 |


output shortend ;-)

Cheers

Andy





pgsql-general by date:

Previous
From: Sam Mason
Date:
Subject: Re: How would I get information regarding update when running for a long time?
Next
From: Sam Mason
Date:
Subject: Re: Best way to import data in postgresl (not "COPY")