Re: Reporting the commit LSN at commit time
От
Fujii Masao
Тема
Re: Reporting the commit LSN at commit time
Дата
Msg-id
CAHGQGwFnf_O1V6fntHc7VXb-6q1z+pp84UJyVHhg4p7a0_AsHA@mail.gmail.com
Ответ на
Re: Reporting the commit LSN at commit time (Andres Freund)
Список
Дерево обсуждения
Reporting the commit LSN at commit time Craig Ringer <craig@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Tom Lane <tgl@sss.pgh.pa.us>
Re: Reporting the commit LSN at commit time Craig Ringer <craig@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Tom Lane <tgl@sss.pgh.pa.us>
Re: Reporting the commit LSN at commit time Andres Freund <andres@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Craig Ringer <craig@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Andres Freund <andres@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Robert Haas <robertmhaas@gmail.com>
Re: Reporting the commit LSN at commit time Andres Freund <andres@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Tom Lane <tgl@sss.pgh.pa.us>
Re: Reporting the commit LSN at commit time Andres Freund <andres@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Robert Haas <robertmhaas@gmail.com>
Re: Reporting the commit LSN at commit time Tom Lane <tgl@sss.pgh.pa.us>
Re: Reporting the commit LSN at commit time Robert Haas <robertmhaas@gmail.com>
Re: Reporting the commit LSN at commit time Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Craig Ringer <craig@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Andres Freund <andres@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Craig Ringer <craig@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Andres Freund <andres@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Fujii Masao <masao.fujii@gmail.com>
Re: Reporting the commit LSN at commit time Andres Freund <andres@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Fujii Masao <masao.fujii@gmail.com>
Re: Reporting the commit LSN at commit time Greg Stark <stark@mit.edu>
Re: Reporting the commit LSN at commit time Greg Stark <stark@mit.edu>
Re: Reporting the commit LSN at commit time Greg Stark <stark@mit.edu>
Re: Reporting the commit LSN at commit time Craig Ringer <craig@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Craig Ringer <craig@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Tom Lane <tgl@sss.pgh.pa.us>
Re: Reporting the commit LSN at commit time Craig Ringer <craig@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Fujii Masao <masao.fujii@gmail.com>
Re: Reporting the commit LSN at commit time Craig Ringer <craig@2ndquadrant.com>
Re: Reporting the commit LSN at commit time Michael Paquier <michael.paquier@gmail.com>
Re: Reporting the commit LSN at commit time Ants Aasma <ants@cybertec.at>
Re: Reporting the commit LSN at commit time Robert Haas <robertmhaas@gmail.com>
Re: Reporting the commit LSN at commit time Craig Ringer <craig@2ndquadrant.com>
On Tue, Aug 19, 2014 at 7:21 PM, Andres Freund wrote: > On 2014-08-19 08:21:10 +0800, Craig Ringer wrote: >> On 08/19/2014 01:03 AM, Robert Haas wrote: >> > 2. I agree that it's not good to have this get controlled by a GUC. >> > If the behavior change is big enough that it's going to break clients, >> > adding a GUC isn't a sufficient remedy. If it's not, adding a GUC is >> > unnecessary. >> >> There's plenty of agreement on "not a GUC" - but what about alternatives? > > What's the problem with the COMMIT WITH (report_lsn on) I've proposed? > Reporting the LSN in the command tag? Anything doing transparent > failover needs to be aware of transaction boundaries anyway. So something like transparent failover doesn't work when a client is working in auto commit mode? That sounds not good. Just idea. What about using NoticeResponse message to report LSN? It can be sent basically anytime and this idea doesn't break current wire protocol. Regards, -- Fujii Masao
В списке pgsql-hackers по дате отправления
От: Amit Kapila
Дата:
От: Amit Kapila
Дата: