From: | Dave Wilde <lists(at)mylinuxguy(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Strange behavior in psql |
Date: | 2004-10-27 16:31:48 |
Message-ID: | 417FCD74.5090809@mylinuxguy.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Tom Lane wrote:
>Dave Wilde <lists(at)mylinuxguy(dot)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(at)postgresql(dot)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)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-10-27 16:37:45 | Re: Strange behavior in psql |
Previous Message | Leen Besselink | 2004-10-27 16:23:28 | pg_autovacuum in 8beta-dev3 small bug |