Stephen Frost <sfrost@snowman.net> writes:
> That's not particularly relevant- the question is if the existing libpq
> API is sufficient for the ODBC driver or not.
And even more to the point, whether extending it wouldn't be a better
answer than writing a whole new API (and new library?). There are
definitely features of the V3 protocol that are not accessible through
libpq at the moment, but that is due to lack of time to add appropriate
API to libpq, not any fundamental objection to extending libpq.
regards, tom lane