| От | Guillaume Cottenceau |
|---|---|
| Тема | Re: 'now' is sometimes not now - but current_timestamp is |
| Дата | |
| Msg-id | 87irioguk5.fsf@meuh.mnc.lan обсуждение исходный текст |
| Ответ на | Re: 'now' is sometimes not now - but current_timestamp is (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-jdbc |
Tom Lane <tgl 'at' sss.pgh.pa.us> writes: > If you are going to copy the implementation of CURRENT_TIMESTAMP, > you should at least copy it accurately. (Hint: the cast from > text to timestamp is not immutable.) But why are you not just > using CURRENT_TIMESTAMP, rather than trying to outsmart the system? I was just trying to use what is best and wrongly picked up 'now'::TIMESTAMP WITH TIME ZONE. I know now this was wrong :), I only claimed that maybe the table description was a little misleading (I know the difference was the ::text cast but for a non postgresql expert, it didn't look crucial). -- Guillaume Cottenceau Create your personal SMS or WAP Service - visit http://mobilefriends.ch/
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера