Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I don't see any code that does version-specific stuff in pgaccess, so I
> guess this will have to be only for > 7.1 backends.
It would probably be easy to try the datlastsysoid query, and if that
fails (remember that column is new in 7.1) fall back to the old way.
regards, tom lane