Re: BUG #9849: walreceiver's DEBUG message reports wrong timestamp

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #9849: walreceiver's DEBUG message reports wrong timestamp
Дата
Msg-id 6802.1396622997@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #9849: walreceiver's DEBUG message reports wrong timestamp  (harukat@sraoss.co.jp)
Список pgsql-bugs
harukat@sraoss.co.jp writes:
> We get the folloging message at the standby server.

>  DEBUG:  sendtime 2014-04-04 11:26:02.425368+09 receipttime 2014-04-04
> 11:26:02.425368+09 replication apply delay 0 ms transfer latency 224043 ms

> Though sendtime equals receipttime, transfer latency is large.
> This receipttime may be wrong.

Yeah, somebody forgot that timestamptz_to_str returns a static buffer.

strdupa is not a portable solution though.

            regards, tom lane

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

Предыдущее
От: Shahar
Дата:
Сообщение: Re: BUG #9833: daterange is not utilizing index correctly
Следующее
От:
Дата:
Сообщение: Re: Configuring Standby Server in PostgreSQL 9.3.3