How about add to libpq-fe.h
#define LIBPQ_VERSION 64
or something like?
(I work with both 6.3 and 6.4 version and this is a problem)
-- Dmitry Samersoff DM\S, dms(at)wplus(dot)net http://devnull.wplus.net