Re: [BUGS] BUG #6288: Is ALTER ROLE set client_encoding broken in 9.1?

2011-11-11 Thread Tom Lane
Peter Eisentraut writes: > On tor, 2011-11-10 at 19:30 -0500, Tom Lane wrote: >> I think psql only pays attention to its locale when stdout is a tty. >> Now *why* it acts like that, I'll leave for Peter to defend. > We would have to review the original discussion about that. I can see > argument

Re: [BUGS] BUG #6288: Is ALTER ROLE set client_encoding broken in 9.1?

2011-11-11 Thread Peter Eisentraut
On tor, 2011-11-10 at 19:30 -0500, Tom Lane wrote: > I think psql only pays attention to its locale when stdout is a tty. > Now *why* it acts like that, I'll leave for Peter to defend. We would have to review the original discussion about that. I can see arguments for doing it that way and for no

Re: [BUGS] Add statistics_collector_listen_addresses to fix hard-coding of "localhost"

2011-11-11 Thread Alvaro Herrera
Excerpts from Torsten Zuehlsdorff's message of vie nov 11 04:51:48 -0300 2011: > Heikki Linnakangas schrieb: > > You won't lose data. There are safeguards in place to print warnings in > > the log when you approach transaction wrap-around, and after a certain > > point the system will stop accep

Re: [BUGS] Add statistics_collector_listen_addresses to fix hard-coding of "localhost"

2011-11-11 Thread Mark Kirkwood
On 11/11/11 20:51, Torsten Zuehlsdorff wrote: So either your statement is wrong or the manual. ;) If there is the possibility to lose data just because of this kind of missconfiguration, we should accept Roberts patch. Greetings, Torsten Robert's patch is based on a complete mis-assessmen

Re: [BUGS] Add statistics_collector_listen_addresses to fix hard-coding of "localhost"

2011-11-11 Thread Torsten Zuehlsdorff
Heikki Linnakangas schrieb: Lossing data is very bad, the solution provided by Robert is really simple. I support Roberts approach. you support changing localhost to be something other than 127.0.0.1 to hack around a poorly designed application?!? seriously? No, i support that PG should be a