| От | Gregory Wood |
|---|---|
| Тема | Re: timestamp goober |
| Дата | |
| Msg-id | 002a01c091ec$8bffcb40$7889ffcc@comstock.com обсуждение исходный текст |
| Ответ на | timestamp goober (Culley Harrelson <culleyharrelson@yahoo.com>) |
| Ответы |
Re: Re: timestamp goober
|
| Список | pgsql-general |
> columns with default timestamp('now') see to be
> defaulting to the time I started posgresql!
I noticed that timestamps (in my case CURRENT_TIMESTAMP) are taken from the
beginning of a transaction. You didn't mention how you were accessing the
database, but if you were updating everything inside the same transaction,
everything would be timestamped with the time that transaction began.
Greg
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера