| От | Tom Lane |
|---|---|
| Тема | Re: incorrect handling of the timeout in pg_receivexlog |
| Дата | |
| Msg-id | 6616.1328626514@sss.pgh.pa.us обсуждение |
| Ответ на | Re: incorrect handling of the timeout in pg_receivexlog (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>) |
| Ответы |
Re: incorrect handling of the timeout in pg_receivexlog
|
| Список | pgsql-hackers |
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> On 07.02.2012 09:03, Fujii Masao wrote:
>> What about changing receivelog.c so that it uses time_t instead of
>> TimestampTz? Which would make the code simpler, I think.
> Hmm, that would reduce granularity to seconds.
It also creates portability issues that I'd just as soon not deal with,
ie, time_t is not the same width on all platforms. (The integer vs
float TimestampTz issue is a kind of portability problem, but we've
already bought into the assumption that sender and receiver must be
built with the same choice, no?)
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера