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

From Robert James
Subject Re: Can LIKE under utf8 use INDEXes?
Date
Msg-id e09785e00907221550x163a7f49k4fd417de5d6797f3@mail.gmail.com
Whole thread Raw
In response to Re: Can LIKE under utf8 use INDEXes?  (Andreas Wenk <a.wenk@netzmeister-st-pauli.de>)
Responses Re: Can LIKE under utf8 use INDEXes?
List pgsql-general
Thanks - I don't show any locale:
rbt_development=> \l
  List of databases
  Name | Owner | Encoding
----------------------------+---------------------+----------
 rbt_development | rbt | UTF8
 ...


On Wed, Jul 22, 2009 at 6:45 PM, Andreas Wenk <a.wenk@netzmeister-st-pauli.de> wrote:
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: Best way to import data in postgresl (not "COPY")
Next
From: Sam Mason
Date:
Subject: Re: Select Column Auditing/Logging