Bug #725: ODBC driver problem with internal type PG_TYPE_TIMESTAMP_NO_TMZONE
В списке pgsql-bugs по дате отправления:
| От | pgsql-bugs@postgresql.org |
|---|---|
| Тема | Bug #725: ODBC driver problem with internal type PG_TYPE_TIMESTAMP_NO_TMZONE |
| Дата | |
| Msg-id | 20020731080054.BEAA047514F@postgresql.org обсуждение исходный текст |
| Ответы |
Re: Bug #725: ODBC driver problem with internal type PG_TYPE_TIMESTAMP_NO_TMZONE
|
| Список | pgsql-bugs |
Martin Schenk (martin@schenk.com) reports a bug with a severity of 2 The lower the number the more severe it is. Short Description ODBC driver problem with internal type PG_TYPE_TIMESTAMP_NO_TMZONE Long Description When binding a column with the internal type PG_TYPE_TIMESTAMP_NO_TMZONE to a SQL_C_TIMESTAMP variable, you always get thecurrent date/time as result. Adding a line to recognize this format to the function "copy_and_convert_field" in odbc/convert.c solves this problem. Sample Code the problem is solved by adding the following: case PG_TYPE_ABSTIME: case PG_TYPE_DATETIME: case PG_TYPE_TIMESTAMP: + case PG_TYPE_TIMESTAMP_NO_TMZONE in file convert.c (line 428), function "copy_and_convert_field" (odbc driver shipped with postgres-7.2.1) No file was uploaded with this report
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера