Re: [HACKERS] Native OLE DB. What do you think about it

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Marek Mosiewicz" <marekmosiewicz(at)poczta(dot)onet(dot)pl>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>, "PostgreSQL odbc list" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: [HACKERS] Native OLE DB. What do you think about it
Date: 2002-06-17 13:51:05
Message-ID: 18551.1024321865@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-odbc

"Marek Mosiewicz" <marekmosiewicz(at)poczta(dot)onet(dot)pl> writes:
> 1.is it safe to use binary cursors (basic types format e.g date would not
> change in future)

Don't do it. The internal representations are NOT guaranteed stable,
and moreover any such thing will guarantee that your code can not talk
to servers running on non-Intel architectures. (I'm sure MS/Intel
would love you to do that, but don't.)

> 2.how could I control result type (binary/ASCII) for ordinary SELECTS ?

You can't, but it doesn't matter, see above.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-06-17 14:00:04 Re: Can I adjust the oid counter for testing?
Previous Message Tom Lane 2002-06-17 13:47:04 Re: Massive regression failures

Browse pgsql-odbc by date

  From Date Subject
Next Message Marek Mosiewicz 2002-06-17 15:29:44 Re: [HACKERS] Native OLE DB. What do you think about it
Previous Message Martin Coxall 2002-06-17 12:05:00 Re: [HACKERS] Native OLE DB. What do you think about it