Re: Changing DB Encodings

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Naz Gassiep <naz(at)mira(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Changing DB Encodings
Date: 2007-07-07 23:12:15
Message-ID: 14247.1183849935@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Naz Gassiep <naz(at)mira(dot)net> writes:
> OK I understand now, I think. How do I check what locale is currently
> set?

"show lc_collate" (maybe check the other lc_ settings too for luck).

> I've successfully created a utf8 database, does that imply that
> because I was able to create a DB with a different encoding to the ones
> all the others use (SQL_ASCII) that my locale is set to "C" ?

No, that implies a lack of error checking.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Naz Gassiep 2007-07-07 23:26:51 Re: Changing DB Encodings
Previous Message Naz Gassiep 2007-07-07 23:06:19 Re: Changing DB Encodings