Peter Eisentraut <peter_e@gmx.net> writes:
> Neil Dugan wrote:
>> How often does the code for libpq change, making older revision of
>> libpq not work with newer version of the database server?
> The most recent libpq that no longer works with the current server was
> released around 1998. I don't think you need to worry about that. We
> keep protocol compatibility for a long time.
However, while you might be able to sit on an old libpq for awhile,
I don't think you could get away with not updating pg_dump for every
new server release. It would be better not to try to port pg_dump at
all than to distribute an obsolete one. psql is better, but not all
that much better :-( as both describe.c and tab-complete.c are pretty
dependent on the server version.
regards, tom lane