Hi, I upgraded recently DB and found that some columns with type "timestamp" changed default values from now() to: receipt_date | timestamp with time zone | not null default '2004-09-29 09:58:03.010678+10'::timestamp with time zone ,where time is a time when psql -U postgres template1 < db_backup.sql was executed. I want to underline not all "timestamp default now()" columns but only some of them. Any ideas? Thank you, Igor
"Igor Kryltsov" <kryltsov@yahoo.com> writes:
> I upgraded recently DB and found that some columns with type "timestamp"
> changed default values from now() to:
> receipt_date | timestamp with time zone | not null default
> '2004-09-29 09:58:03.010678+10'::timestamp with time zone
Those were not defined as "default now()". More likely they were
defined as "default 'now'", which doesn't work anymore. See the release
notes.
regards, tom lane
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера