Late last year I posted some patches for psql but they were deferred
pending the release of 8.2. However, they are not in the patch queue
so I thought I'd bring them up again now the release is done.
1. Dealing with a buggy readline on some platforms w.r.t. --as-needed.
The serious arguments for --as-needed have gone now we exclude various
libs from the main postgres binary. However, the other executables
still include a lot more libs than necessary.
2. Handling Ctrl-C pressed while running an external pager.
This bug still irritates me from time to time so it would be nice to
fix it for once and for all. Not to meantion the memory and file
descriptor leaks caused by the current code. However, the tree has
deviated significantly since that patch was posted. I have prepared a
version against HEAD if people are still interested. The details are in
The only change from that is that I've now also removed paging support
from the following programs:
createdb, createlang, createuser, dropdb, droplang, dropuser,
clusterdb, vacuumdb, reindexdb.
In so far as it's not clear how much they used the paging support
anyway, keeping it would require setting up of the signal handlers the
same way psql does since the code is shared. I figured it wasn't worth
The new patch is here but can be posted to -patches if there is
Have a nice day,
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.
pgsql-hackers by date
|Next:||From: Andrew Dunstan||Date: 2006-02-21 13:36:48|
|Subject: windows / initdb oddness|
|Previous:||From: Martijn van Oosterhout||Date: 2006-02-21 09:42:25|
|Subject: Re: new feature: LDAP database name resolution|