public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* postgresql postmaster and LC_MESSAGES EN_US problem
@ 2002-12-11 10:33 Heitzso
  2002-12-12  4:36 ` Jason Tishler
  2002-12-12  5:49 ` Jason Tishler
  0 siblings, 2 replies; 9+ messages in thread
From: Heitzso @ 2002-12-11 10:33 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

I just updated to current postgresql and got
past the ipc-daemon upgrade problem (yes it's
noted in the README) but then got snagged on
the LC_MESSAGES EN_US setting in postgresql.conf.

Note I did cd into the data directory and I
deleted everything, then rebuilt with initdb,
	cd /cygdrive/d/postgresql/data
	rm -rf *
	initdb -D /cygdrive/d/postgresql/data
then, when running by hand, as in:
	postmaster -D /cygdrive/d/postgresql/data
I get the following error message:
	FATAL: invalid value for option 'LC_MESSAGES': 'EN_US'

I got around this problem (??) by commenting out
the 4 localization lines at the end of postgresql.conf
in the data directory, but would greatly 
appreciate any suggestions as to what's south
with my setup that would cause this.  I've scanned the 
archives and didn't see anyone else reporting this problem 
so I assume it is my configuration.

Note that I'm running in a spec'ed data directory that is
not standard, if that's an issue.

Thanks,
Heitzso

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: postgresql postmaster and LC_MESSAGES EN_US problem
@ 2002-12-12  7:33 Heitzso
  2002-12-12  8:26 ` Jason Tishler
  0 siblings, 1 reply; 9+ messages in thread
From: Heitzso @ 2002-12-12  7:33 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Just want to note that my LANG was not set when
I ran initdb which left me with LC_MESSAGES="EN_US".
I tried setting LANG=C in my environment and wiped
my postgres data directory and re initdb'ed and still
ended up with LC_MESSAGES="EN_US".

I'm guessing there's another environment variable that
initdb may be working with?

In any case, just commenting out the last 4 lines
in postgresql.conf seems to take care of the problem
for now.

Heitzso

-----Original Message-----
From: Jason Tishler [mailto:jason@tishler.net]
Sent: Thursday, December 12, 2002 7:41 AM
To: cygwin@cygwin.com
Subject: Re: postgresql postmaster and LC_MESSAGES EN_US problem


Heitzso,

On Wed, Dec 11, 2002 at 12:48:20PM -0500, Heitzso wrote:
> I got around this problem (??) by commenting out the 4 localization
> lines at the end of postgresql.conf in the data directory, but would
> greatly appreciate any suggestions as to what's south with my setup
> that would cause this.

It appears that having LANG=en_us set before you ran initdb caused this
problem.  My recommendation it to either unset LANG or use LANG=C before
you rerun initdb.

IIRC, Cygwin does not fully support locale.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-12-20 17:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-11 10:33 postgresql postmaster and LC_MESSAGES EN_US problem Heitzso
2002-12-12  4:36 ` Jason Tishler
2002-12-12  5:49 ` Jason Tishler
2002-12-13 13:46   ` Jari Aalto+list.cygwin
2002-12-17  5:28     ` Jason Tishler
2002-12-18 14:44       ` Jari Aalto+list.cygwin
2002-12-20 11:40         ` Jason Tishler
2002-12-12  7:33 Heitzso
2002-12-12  8:26 ` Jason Tishler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).