Skip site navigation (1) Skip section navigation (2)

encoding warnings while intializing database.

From: Wes Sheldahl <wes(dot)sheldahl(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: encoding warnings while intializing database.
Date: 2010-03-13 07:17:37
Message-ID: c0a118d71003122317s731d2050m9e29de4566053eba@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-bugs
Hi,

I'm dutifully reporting some warnings I received when initializing a
postgresql database.
The command I ran was this:
sudo -u postgres /opt/local/lib/postgresql84/bin/initdb -E UTF-8 -D
/opt/local/var/db/postgresql84/defaultdb

(I had tried before without the '-E UTF-8' option, but that failed
completely with an encoding-related error.)

This is OSX 10.4 (Tiger); postgresql version 8.4, installed via macports.

here's the relevant part of the output:

initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... WARNING:  could not determine
encoding for locale "en_US.US-ASCII": codeset is "US-ASCII"
DETAIL:  Please report this to <pgsql-bugs(at)postgresql(dot)org>.
WARNING:  could not determine encoding for locale "en_US.US-ASCII":
codeset is "US-ASCII"
DETAIL:  Please report this to <pgsql-bugs(at)postgresql(dot)org>.
ok
copying template1 to postgres ... WARNING:  could not determine
encoding for locale "en_US.US-ASCII": codeset is "US-ASCII"
DETAIL:  Please report this to <pgsql-bugs(at)postgresql(dot)org>.
WARNING:  could not determine encoding for locale "en_US.US-ASCII":
codeset is "US-ASCII"
DETAIL:  Please report this to <pgsql-bugs(at)postgresql(dot)org>.
ok


Otherwise, postgresql appears to be up and running. Thanks,

-- 
Wes Sheldahl
wes(dot)sheldahl(at)gmail(dot)com

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2010-03-13 19:05:01
Subject: Re: encoding warnings while intializing database.
Previous:From: Tom LaneDate: 2010-03-13 05:12:54
Subject: Re: BUG #5374: NULLed SERIAL improperly dumped

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group