Datetime and pgtypes.c

Поиск
Список
Период
Сортировка
От alexandre :: aldeia digital
Тема Datetime and pgtypes.c
Дата
Msg-id 1398.192.168.1.101.1038854873.squirrel@webmail.aldeiadigital.com.br
обсуждение исходный текст
Список pgsql-odbc
Mr. Hiroshi and all,

Sorry for report this bug again...The ODBC does not
convert 'datetime' type to 'timestamp without timezone'
for PostgreSQL 7.3
The MyLog output the correct version:
[2560]Extracted PostgreSQL version number: '7.3'

In pgtypes.c (annotate version), we have:


momjian  1.22                  case PG_TYPE_DATETIME:
hinoue  1.52                          if (PG_VERSION_GE(conn, 7.0))
hinoue  1.52                                  return "timestamp with time
zone";
hinoue  1.52                          else
hinoue  1.52                                  return "datetime";
inoue  1.47                  case PG_TYPE_TIMESTAMP_NO_TMZONE:
hinoue  1.52                          return "timestamp without time zone";


To correct this, I will need only to change the function
PG_VERSION_GE(conn, 7.3) or is a bug in the PG_VERSION_GE check
the GreatEqual version passed ???

Thank's again.




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

Предыдущее
От: Justin Clift
Дата:
Сообщение: Re: Can't get more than 255 chars out of memo field in Acc
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Datetime and pgtypes.c