Re: timestamp resolution?

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: Problem on AIX with current
Следующее
От: John Summerfield
Дата:
Сообщение: Re: cvs problem