Re: possible ODBC bug with '-infinity'

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: possible ODBC bug with '-infinity'
Дата
Msg-id 47526C0B.9060905@tpf.co.jp
обсуждение исходный текст
Ответ на Re: possible ODBC bug with '-infinity'  (Richard Broersma Jr <rabroersma@yahoo.com>)
Ответы Re: possible ODBC bug with '-infinity'  (Richard Broersma Jr <rabroersma@yahoo.com>)
Список pgsql-odbc
Richard Broersma Jr wrote:
> --- On Fri, 11/30/07, Greg Cocks <gcocks@stoller.com> wrote:
>
>> Using a MS product? Is this *maybe* related to the same
>> 'issue' with
>> NULLs from PostgreSQL to MS products i.e., in the
>> <postgresql.conf>
>> file, turning 'transform_null_equals' to
>> 'on'?
>>
>> Likely not, but thought I would put it out there...   :-)
>> .. DEFAULT '-infinity', ...
>
> I should probably clarify what I am seeing.
>
> I have a table that has a time stamp field.  The timestamp fields have two special values in postgres:
>   'infinity' which implies '+infinity'
>   and '-infinity'

ODBC doesn't have such a concept.

> when I create a recordset of records that have the value 'infinity' in the timestamp field all is well.  The client
sidetimestamp displays '9999-12-31 .... '. 

Though I have no confidence, I'm doing so.
Do you think it is an appropriate handling ?

> However, when I try to create a recordset that has field that contains the '-infinity' values I get an error message.

How do you think the driver should treat -infinity ?

regards,
Hiroshi Inoue

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

Предыдущее
От: Richard Broersma Jr
Дата:
Сообщение: Re: possible ODBC bug with '-infinity'
Следующее
От: Richard Broersma Jr
Дата:
Сообщение: Re: possible ODBC bug with '-infinity'