public inbox for [email protected]
help / color / mirror / Atom feedFrom: Adrian Klaver <[email protected]>
To: Sebastien Flaesch <[email protected]>
To: Tom Lane <[email protected]>
Cc: M Tarkeshwar Rao <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: After upgrading libpq, the same function(PQftype) call returns a different OID
Date: Thu, 20 Mar 2025 08:33:07 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <DBAP191MB1289417EA192457D9663350EB0D82@DBAP191MB1289.EURP191.PROD.OUTLOOK.COM>
References: <PAWPR07MB1009569596278D85AC691BBF4AEDD2@PAWPR07MB10095.eurprd07.prod.outlook.com>
<[email protected]>
<DBAP191MB1289124F5D8690DF3F72F62CB0DC2@DBAP191MB1289.EURP191.PROD.OUTLOOK.COM>
<[email protected]>
<DBAP191MB1289C92E15014C2627C49BEBB0D92@DBAP191MB1289.EURP191.PROD.OUTLOOK.COM>
<[email protected]>
<[email protected]>
<DBAP191MB1289417EA192457D9663350EB0D82@DBAP191MB1289.EURP191.PROD.OUTLOOK.COM>
On 3/20/25 00:17, Sebastien Flaesch wrote:
> Let's not deviate from my request:
>
> I have implemented various DB client modules using the C client APIs,
> for Oracle DB, SQL Server, IBM DB2, MySQL/MariaDB, SQLite and PostgreSQL.
>
> While I like PostgreSQL a lot, this is the only case where I have to
> define myself the column type ids, to implement a "describe column" feature.
>
> ODBC has SQLDescribeCol() / SQLDescribeColW() and predefined SQL_*
> constants like SQL_INTEGER, SQL_VARCHAR ...
>
> Native PostgreSQL built-in SQL types should be listed in a .h header of
> the C client API
>
You could borrow from here:
https://github.com/postgresql-interfaces/psqlodbc/blob/main/pgtypes.h
--
Adrian Klaver
[email protected]
view thread (17+ messages) latest in thread
reply
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: After upgrading libpq, the same function(PQftype) call returns a different OID
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox