Re: FATAL error on launch - Mailing list pgsql-novice

From Tom Lane
Subject Re: FATAL error on launch
Date
Msg-id 16664.1042562425@sss.pgh.pa.us
Whole thread Raw
In response to FATAL error on launch  (Paul Gobble <paul.gobble@sbox.net>)
List pgsql-novice
Paul Gobble <paul.gobble@sbox.net> writes:
> I could use some help.
> I've just finished installing postgreSQL 7.3.1 on my PowerBook (Os
> 10.2.3).  Everything appeared to be going fine until I tried to run it.
>   Below is what happens when ever I try to start (copied straight from
> the terminal)

> [TiBox:~] postgres% /Users/postgres/bin/pg_ctl start -D
> /Users/postgres/data -o -i -l
> postmaster successfully started
> [TiBox:~] postgres% FATAL:  invalid value for option 'LC_TIME': 'en_US'

Set LC_TIME to 'C' near the bottom of $PGDATA/postgresql.conf.  And
complain to Apple about the shoddy state of their locale support.
It's ridiculous that LC_TIME barfs up on locale settings that are
accepted by the other half-dozen LC_ variables.

Alternatively, you might want to re-initdb with --no-locale (or however
that switch is spelled, don't recall at the moment).  'en_US' is usually
an inferior choice compared to 'C' for database locale.

            regards, tom lane

pgsql-novice by date:

Previous
From: "Juliet May"
Date:
Subject: PostgreSQL query failed: pqReadData() -- read() failed: errno=0
Next
From: Tom Ansley
Date:
Subject: Cascade Updating