> I'm wondering if maybe the Right Thing(TM) might be for all
> connections to return (optionally?) the version number, but that seems
> like a giant project with many backward-compatibility snags attached.
I think it would be for psql to check the connection version and then load a
shared library containing the implementation of all its functions for that
particular database version...
Chris