Re: Native OLE DB. What do you think about it - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Native OLE DB. What do you think about it
Date
Msg-id 18551.1024321865@sss.pgh.pa.us
Whole thread Raw
In response to Native OLE DB. What do you think about it  ("Marek Mosiewicz" <marekmosiewicz@poczta.onet.pl>)
List pgsql-hackers
"Marek Mosiewicz" <marekmosiewicz@poczta.onet.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

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Can I adjust the oid counter for testing?
Next
From: Tom Lane
Date:
Subject: Re: FATAL 2: InitRelink(logfile 0 seg 173) failed: No such file or directory