Re: Strange behavior in psql - Mailing list pgsql-bugs

From Dave Wilde
Subject Re: Strange behavior in psql
Date
Msg-id 417FCD74.5090809@mylinuxguy.com
Whole thread Raw
In response to Re: Strange behavior in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Strange behavior in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane wrote:

>Dave Wilde <lists@mylinuxguy.com> writes:
>
>>I have been having problems with psql under linux lately and this
>>problem has followed me from
>>7.4.4 - 7.4.6, but it started sometime after I upgraded to 7.4.4.
>>
>
>It sounds to me like the weirdness is in or around libreadline.
>Did you update readline in that timeframe?  Does psql behave more
>reliably if you give it the -n option?
>
>            regards, tom lane
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
>
>
I thought so too, so I looked at ldd for psql and it doesn't link to
readline, it links to libedit, here's the output.  Libedit and readline
are both at their latest versions, and yes it works great with -n.
Thanks, Dave W.

libpq.so.3 => /usr/lib/libpq.so.3 (0x40018000)
libpam.so.0 => /lib/libpam.so.0 (0x4004d000)
libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40056000)
libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40085000)
libz.so.1 => /lib/libz.so.1 (0x4017c000)
libedit.so => /usr/lib/libedit.so (0x40191000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x401b3000)
libresolv.so.2 => /lib/libresolv.so.2 (0x401e0000)
libnsl.so.1 => /lib/libnsl.so.1 (0x401f4000)
libdl.so.2 => /lib/libdl.so.2 (0x40209000)
libm.so.6 => /lib/libm.so.6 (0x4020d000)
libc.so.6 => /lib/libc.so.6 (0x4022f000)
libncursesw.so.5 => /lib/libncursesw.so.5 (0x4034c000)
/lib/ld-linux.so.2 (0x40000000)

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1297: Postgres after 7.3.5 does not works on initdb stage
Next
From: Tom Lane
Date:
Subject: Re: Strange behavior in psql