Re: Can't change LC_CTYPE/locale

From: "Schuhmacher, Bret" <Bret(dot)Schuhmacher(at)Aspect(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Can't change LC_CTYPE/locale
Date: 2005-02-03 16:44:57
Message-ID: 98E4F4D46DACD0479C96D7356D5C37356B0411@sac1exch3.aspect.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Thanks for the response, Tom. Looks like the problem was a bad
directory given to pg_ctl for my start script. It was pointing to
/usr/local/pgsql/data, not /var/lib/pgsql/data. I think I might've had
two identical databases in different directories... Seems to be fixed
now, though.

I appreciate your time! :-)

Rgds,

Bret

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: Thursday, February 03, 2005 11:29 AM
> To: Schuhmacher, Bret
> Cc: pgsql-novice(at)postgresql(dot)org
> Subject: Re: [NOVICE] Can't change LC_CTYPE/locale
>
> "Schuhmacher, Bret" <Bret(dot)Schuhmacher(at)Aspect(dot)com> writes:
> > I decided to drop and rebuild the db, as I'd done before.
> However, no
> > matter what I do this time, the db comes out as
> en_US.UTF-8, not "C".
> > I've unset LC_CTYPE and LC_COLLATE in the env, I've set
> them both to
> > C, I've specified the encoding and ctype on the initdb command line
> > (see below), but nothing changes!
>
> This is a stupid suggestion, but since you showed your steps
> and didn't mention this one: did you remember to stop and
> restart the postmaster over the initdb?
>
> regards, tom lane
>

Browse pgsql-novice by date

  From Date Subject
Next Message Rodolfo J. Paiz 2005-02-03 19:04:15 Help with subselect (first time)
Previous Message Tom Lane 2005-02-03 16:29:04 Re: Can't change LC_CTYPE/locale