Re: Change pg_last_xlog_receive_location not to move backwards

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: Change pg_last_xlog_receive_location not to move backwards
Дата
Msg-id
AANLkTik8eizaG3nq+v5aOK9GH-7ZH3YgQA6gLnNjC=9x@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Change pg_last_xlog_receive_location not to move backwards Fujii Masao <masao.fujii@gmail.com>
Re: Change pg_last_xlog_receive_location not to move backwards Fujii Masao <masao.fujii@gmail.com>
Re: Change pg_last_xlog_receive_location not to move backwards Robert Haas <robertmhaas@gmail.com>
Re: Change pg_last_xlog_receive_location not to move backwards Fujii Masao <masao.fujii@gmail.com>
Re: Change pg_last_xlog_receive_location not to move backwards Jeff Janes <jeff.janes@gmail.com>
Re: Change pg_last_xlog_receive_location not to move backwards Fujii Masao <masao.fujii@gmail.com>
Re: Change pg_last_xlog_receive_location not to move backwards Stephen Frost <sfrost@snowman.net>
Re: Change pg_last_xlog_receive_location not to move backwards Robert Haas <robertmhaas@gmail.com>
Re: Change pg_last_xlog_receive_location not to move backwards Robert Haas <robertmhaas@gmail.com>
Re: Change pg_last_xlog_receive_location not to move backwards Stephen Frost <sfrost@snowman.net>
Re: Change pg_last_xlog_receive_location not to move backwards Robert Haas <robertmhaas@gmail.com>
Re: Change pg_last_xlog_receive_location not to move backwards Simon Riggs <simon@2ndQuadrant.com>
Re: Change pg_last_xlog_receive_location not to move backwards Stephen Frost <sfrost@snowman.net>
Re: Change pg_last_xlog_receive_location not to move backwards Fujii Masao <masao.fujii@gmail.com>
Re: Change pg_last_xlog_receive_location not to move backwards Robert Haas <robertmhaas@gmail.com>
Re: Change pg_last_xlog_receive_location not to move backwards Fujii Masao <masao.fujii@gmail.com>
Re: Change pg_last_xlog_receive_location not to move backwards Robert Haas <robertmhaas@gmail.com>
Re: Change pg_last_xlog_receive_location not to move backwards Robert Haas <robertmhaas@gmail.com>
Re: Change pg_last_xlog_receive_location not to move backwards Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Change pg_last_xlog_receive_location not to move backwards Jeff Janes <jeff.janes@gmail.com>
Re: Change pg_last_xlog_receive_location not to move backwards Fujii Masao <masao.fujii@gmail.com>
Re: Change pg_last_xlog_receive_location not to move backwards Simon Riggs <simon@2ndQuadrant.com>
Re: Change pg_last_xlog_receive_location not to move backwards Jeff Janes <jeff.janes@gmail.com>
On Tue, Feb 15, 2011 at 12:34 AM, Fujii Masao  wrote:
> You suggest that the shared variable Stream tracks the WAL write location,
> after it's set to the replication starting position? I don't think
> that the write
> location needs to be tracked in the shmem because other processes than
> walreceiver don't use it.

Well, my proposal was to expose it, on the theory that it's useful.
As we stream the WAL, we write it, so I think for all intents and
purposes write == stream.  But using it to convey the starting
position makes more sense if you call it stream than it does if you
call it write.

> You propose to rename LogstreamResult.Write to .Stream, and
> merge it and receiveStart?

Yeah, or probably change recieveStart to be called Stream.  It's
representing the same thing, just in shmem instead of backend-local,
so why name it differently?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
Сообщение: Re: multiset patch review
От: Robert Haas
Дата:
FAQ