From: Ken Sell <ksell@greenplum.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Difference in SQLGetInfo between 7.4 and earlier protocol
Date: Wed, 2 Jun 2010 16:53:56 -0700
Message-ID: <C82C3D24.2A30%ksell@greenplum.com> (raw)
Hi,
I've noticed a difference when calling SQLGetInfo with SQL_DBMS_VER. If the protocol attribute is set to 7.3, I get
SQL_DBMS_VER = PostgreSQL 8.2.13 on i386-apple-darwin9.8.0, compiled by GCC i686-apple-darwin9-gcc-4.0.1
If the protocol attribute is set to 7.4 (or 7.4-1) I get,
SQL_DBMS_VER = 8.2.13
This kind of looks like libpq is being used in the the first case to get the version, and the socket library is being used in the second case.
Or perhaps the protocol is not recognized in the second case and it defaults to the socket library?
Is this correct behavior?
Thanks,
....Ken
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: ksell@greenplum.com
Subject: Re: Difference in SQLGetInfo between 7.4 and earlier protocol
In-Reply-To: <C82C3D24.2A30%ksell@greenplum.com>
References: <C82C3D24.2A30%ksell@greenplum.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox