Re: Statement Timeout Message Incorrect

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Statement Timeout Message Incorrect
Дата
Msg-id 25252.1201121555@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Statement Timeout Message Incorrect  (elein <elein@varlena.com>)
Список pgsql-bugs
elein <elein@varlena.com> writes:
> Running 8.3RC1
> I have an sql script where one or more create index statements
> raise a statement timeout message. The statement timeout is
> set to 1d.

Hmmm ... are you using integer timestamps by any chance?
It looks to me like TimestampTzPlusMilliseconds() would overflow
for such a large timeout.

> The script runs in ~3 hours including the timeout messages.

If I'm doing the math correctly, 1 day would overflow to about
8 minutes in microseconds, so if you're seeing individual statements
time out after more than that then there's something else going on.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: elein
Дата:
Сообщение: Statement Timeout Message Incorrect
Следующее
От: "Steven Flatt"
Дата:
Сообщение: BUG #3898: Postgres autovacuum not respecting pg_autovacuum.enabled = false