Hello Martin, On Thu, Oct 06, 2011 at 10:57:58AM +0200, Martin Pitt wrote: > tag 644078 pending > thanks > > Hallo Helge, > > I think I know what's wrong -- I'm willing to bet my lunch that you > don't have the dpkg-dev package installed?
Sorry, it is installed: ii dpkg-dev 1.16.1 Debian package development tools > If that was it, I fixed the bug in bzr now; if you want to try, you > can download > > http://bazaar.launchpad.net/~pitti/postgresql/common/view/head:/pg_wrapper > > and install it into /usr/share/postgresql-common. It is already present, the diff is: --- pg_wrapper 2011-10-06 18:22:36.000000000 +0200 +++ /usr/share/postgresql-common/pg_wrapper 2011-02-13 22:17:15.000000000 +0100 @@ -99,9 +99,7 @@ # libreadline is a lot better than libedit, so prefer that if ($cmdname eq 'psql') { - my @readlines; - push @readlines, sort(</lib/*/libreadline.so.*>); - push @readlines, sort(</lib/libreadline.so.*>); + my @readlines = sort(</lib/libreadline.so.*>); if (@readlines) { $ENV{'LD_PRELOAD'} = ($ENV{'LD_PRELOAD'} or '') . ':' . $readlines[-1]; } Ok, now old commands look strange in psql: insert\040into\040rechnung\040VALUES\040(default,'2011-09-12','Pinkus\040Honig\040Malz',1,null,null,'Div.\040Bioladen','Food',0.79,'CK\040bar'); But yes, now "Del" works, I can enter umlaute again, so psql is back to speed. And the just now entered old command looks fine again. I see that there is a new postgresql_common entering testing, I think the best would be to update and then re-replace pq_wrapper. Now the diff is smaller: --- /home/helge/download/pg_wrapper 2011-10-06 18:22:36.000000000 +0200 +++ /usr/share/postgresql-common/pg_wrapper 2011-09-18 12:47:06.000000000 +0200 @@ -100,7 +100,11 @@ # libreadline is a lot better than libedit, so prefer that if ($cmdname eq 'psql') { my @readlines; - push @readlines, sort(</lib/*/libreadline.so.*>); + my $multiarch = `dpkg-architecture -qDEB_HOST_MULTIARCH`; + chomp $multiarch; + if ($multiarch) { + push @readlines, sort(</lib/$multiarch/libreadline.so.*>); + } push @readlines, sort(</lib/libreadline.so.*>); if (@readlines) { $ENV{'LD_PRELOAD'} = ($ENV{'LD_PRELOAD'} or '') . ':' . $readlines[-1]; After installing, still works. Thanks! > If not, please yell here, and I'll dig further. > > Danke! Danke von mir! Greetings Helge -- Dr. Helge Kreutzmann [email protected] Dipl.-Phys. http://www.helgefjell.de/debian.php 64bit GNU powered gpg signed mail preferred Help keep free software "libre": http://www.ffii.de/
signature.asc
Description: Digital signature

