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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Native OLE DB. What do you think about it
Дата
Msg-id 18551.1024321865@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Native OLE DB. What do you think about it  ("Marek Mosiewicz" <marekmosiewicz@poczta.onet.pl>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Can I adjust the oid counter for testing?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: FATAL 2: InitRelink(logfile 0 seg 173) failed: No such file or directory