Index: main.c
===================================================================
RCS file: /cvsroot/pgsql-server/src/backend/main/main.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -c -r1.81 -r1.82
*** main.c	24 May 2004 02:47:44 -0000	1.81
--- main.c	25 May 2004 01:00:20 -0000	1.82
***************
*** 150,155 ****
--- 150,157 ----
  	 * startup error messages to be localized.
  	 */
  
+ 	set_pglocale(argv[0], "postgres");
+ 
  #ifdef WIN32
  	/* 
  	 * Windows uses codepages rather than the environment, so we work around
***************
*** 184,194 ****
  	setlocale(LC_MONETARY, "C");
  	setlocale(LC_NUMERIC, "C");
  	setlocale(LC_TIME, "C");
- 
- #ifdef ENABLE_NLS
- 	bindtextdomain("postgres", LOCALEDIR);
- 	textdomain("postgres");
- #endif
  
  	/*
  	 * Skip permission checks if we're just trying to do --help or
--- 186,191 ----
