Re: [HACKERS] [GENERAL] client encoding that psql command sets

2014-04-18 Thread Albe Laurenz
Bruce Momjian wrote: I suggest the attached documentation fix. Patch applied and backpatched to 9.3. Thanks. What would PostgreSQL do without Bruce who undertakes the Herculean task of making sure that nothing gets forgotten and slips through the cracks? Thanks! Yours, Laurenz Albe --

Re: [HACKERS] [GENERAL] client encoding that psql command sets

2014-04-16 Thread Bruce Momjian
On Fri, Feb 7, 2014 at 09:12:10AM +, Albe Laurenz wrote: Even when a LC_CTYPE environment variable was set up, the result did not change. What do you think? I think that the documentation contradicts the code. In bin/psql/settings.h: typedef struct _psqlSettings { [...]

Re: [HACKERS] [GENERAL] client encoding that psql command sets

2014-02-07 Thread Albe Laurenz
[CC'ed -hackers] Tsubasa Sakamoto wrote: Not sure that it makes a difference but the docs say psql looks at LC_CTYPE not LANG for Unix systems. You did not say what OS you are working on though from the examples I am guessing some form of Unix. The LC_CTYPE environment variable was set up