A couple binary cursor questions

Поиск
Список
Период
Сортировка
От Dann Corbit
Тема A couple binary cursor questions
Дата
Msg-id D90A5A6C612A39408103E6ECDD77B82906F3D0@voyager.corporate.connx.com
обсуждение исходный текст
Ответы Re: A couple binary cursor questions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: [ADMIN] postgresql under Windows is slow
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: sql select query with column 'AS' assignment