Re: pg_stat_replication log positions vs base backups

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: pg_stat_replication log positions vs base backups
Дата
Msg-id CABUevEwxkO+ahS29LHTbK2vbLCzr_O0nW37VAcKQuAj8BzkzJQ@mail.gmail.com
обсуждение исходный текст
Ответ на pg_stat_replication log positions vs base backups  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: pg_stat_replication log positions vs base backups
Список pgsql-hackers
On Wed, Nov 25, 2015 at 10:19 AM, Magnus Hagander <magnus@hagander.net> wrote:
Are the values for the log locations really relevant for backup connections? And if they are, we need to document it :) ISTM we are just more or less leaking random data out there?

I'm talking about the actual state=backup connection - not the connection if we're using -x with pg_basebackup. Where we have output like:

state            | backup
sent_location    | 0/0
write_location   | 2/76CE0000
flush_location   | 2/76CC0000
replay_location  | 2/76CBF938

I'm thinking those fields should probably all be NULL for state=backup?


In particular, it seems that in InitWalSenderSlot, we only initialize the sent location. Perhaps this is needed? 

--
Вложения

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

Предыдущее
От: YUriy Zhuravlev
Дата:
Сообщение: Re: WIP: About CMake v2
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: problem with msvc linker - cannot build orafce