Re: [HACKERS] potential bug in psql

2014-08-22 Thread Szymon Guz
On 22 August 2014 17:06, Tom Lane wrote: > Szymon Guz writes: > > when I run `\s` in psql, I get the nice list of queries with an error at > > the end: > > > "\s > > could not save history to file "/dev/tty": No such file or directory" > > Well, that's interesting ... what version of which readl

Re: [HACKERS] potential bug in psql

2014-08-22 Thread Alvaro Herrera
Tom Lane wrote: > TBH, though, \s doesn't seem to me to be anywhere near worth the amount > of work we've already put into it, let alone a major new implementation > effort. Who's for just removing the command altogether? I use it every once in a while. Is there a replacement? There are severa

Re: [HACKERS] potential bug in psql

2014-08-22 Thread Tom Lane
Szymon Guz writes: > when I run `\s` in psql, I get the nice list of queries with an error at > the end: > "\s > could not save history to file "/dev/tty": No such file or directory" Well, that's interesting ... what version of which readline library are you using? Presumably what is happening

[HACKERS] potential bug in psql

2014-08-22 Thread Szymon Guz
Hi, when I run `\s` in psql, I get the nice list of queries with an error at the end: "\s could not save history to file "/dev/tty": No such file or directory" Newest ubuntu from trunk PostgreSQL 9.5devel on x86_64-unknown-linux-gnu, compiled by Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_