A couple binary cursor questions

From: "Dann Corbit" <DCorbit(at)connx(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: A couple binary cursor questions
Date: 2002-02-01 19:22:55
Message-ID: D90A5A6C612A39408103E6ECDD77B82906F3D0@voyager.corporate.connx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I am writing an ODBC driver for PostgreSQL.

I am using binary cursors. For most data types, I have no problems, but
for a couple I am confused. If someone could point me to the proper
documentation, source file or whatever, I would very much appreciate it.

The types I am having problems with are:
1. Currency data type. The binary pointer to the object, I assumed,
would point to either a NumericVar type (from Numeric.c) or to a Numeric
pointer from numeric.h. Neither of those assumptions are correct, as I
have looked carefully while tracing in the debugger.
So please, where do I find the correct definition for the binary object
handed back from Libpq when using a binary cursor with numeric data
type?

2. Array type objects. I cannot find a description of how to decipher
array objects from a binary cursor. Where can I find a definition of
how to do this.

I apologize for the intrusion, but I have been agonizing over this for
several days.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-02-01 19:27:08 Re: Per-database and per-user GUC settings
Previous Message Doug McNaught 2002-02-01 18:58:33 Re: PostgreSQL crashes with Qmail-SQL