| От | Tom Lane |
|---|---|
| Тема | Re: timestamp resolution? |
| Дата | |
| Msg-id | 19725.1002206783@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: timestamp resolution? (Thomas Lockhart <lockhart@fourpalms.org>) |
| Список | pgsql-hackers |
Thomas Lockhart <lockhart@fourpalms.org> writes:
> Even stranger, this only happens on the first call to CURRENT_TIMESTAMP
> after starting a backend (example below), and stays that way if I just
> do "select current_timestamp". Something must not be initialized quite
> right, but I don't know what. Any guesses?
Ah, I've got it. Two problems: AdjustTimestampForTypmod is one brick
shy of a load, and the hardwired calls to timestamp_in and friends
weren't passing all the parameters they should. (Can anyone think of
a way for DirectFunctionCall to do any checking?)
Patch will be committed in a moment...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера