| От | Pat Marchant |
|---|---|
| Тема | Problem w/trigger |
| Дата | |
| Msg-id | 20020916220114.GA15063@btree.net обсуждение исходный текст |
| Ответы |
Re: Problem w/trigger
|
| Список | pgsql-odbc |
I have several tables that use a trigger to automatically update a timestamp field when a record is modified. The trigger works fine using psql. When I connect using ODBC, a modified record is always updated with the time that I connected to the server - not the current time. For example, if I connect to the database at '2002-09-16 13:45:16-07' every record I change will have this timestamp. I know the trigger is executing because if I modify the record from the server console the record will have the current time in the timestamp field - then if I change it again from ODBC it will revert back to the old timestamp. What's going on?
В списке pgsql-odbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера