Index: src/port/path.c
===================================================================
RCS file: /cvsroot/pgsql-server/src/port/path.c,v
retrieving revision 1.12
diff -c -c -r1.12 path.c
*** src/port/path.c	25 May 2004 01:00:30 -0000	1.12
--- src/port/path.c	25 May 2004 01:40:36 -0000
***************
*** 251,257 ****
  	char path[MAXPGPATH];
  	char my_exec_path[MAXPGPATH];
  
! 	setlocale(LC_ALL, "");
  	if (find_my_exec(argv0, my_exec_path) < 0)
  		return;
  		
--- 251,260 ----
  	char path[MAXPGPATH];
  	char my_exec_path[MAXPGPATH];
  
! 	/* don't set LC_ALL in the backend */
! 	if (strcmp(app, "postgres") != 0)
! 		setlocale(LC_ALL, "");
! 
  	if (find_my_exec(argv0, my_exec_path) < 0)
  		return;
  		
