From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
---|---|
To: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
Cc: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Petr Jelinek <petr(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Steve Singer <steve(at)ssinger(dot)info>, Andres Freund <andres(at)2ndquadrant(dot)com>, Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Anssi Kääriäinen <anssi(dot)kaariainen(at)thl(dot)fi>, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Jaime Casanova <jaime(at)2ndquadrant(dot)com> |
Subject: | Re: tracking commit timestamps |
Date: | 2014-12-04 03:58:53 |
Message-ID: | CA+U5nMJcJz11DpZyZ0okc6Ru8G6YDK_5HPqRfHOvjdRY2eJbAg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | Postg윈 토토SQL : Postg윈 토토SQL : Postg윈 토토SQL 메일 링리스트 : 2014-12-04 이후 PGSQL WWW 03:58 |
On 4 December 2014 at 03:08, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
> #1. set up and start the master and standby servers with
> track_commit_timestamp disabled
> #2. enable track_commit_timestamp in the master and restart the master
> #3. run some write transactions
> #4. enable track_commit_timestamp in the standby and restart the standby
> #5. execute "select pg_xact_commit_timestamp('1000'::xid)" in the standby
I'm not sure what step4 is supposed to do?
Surely if steps 1-3 generate any WAL then the standby should replay
it, whether or not track_commit_timestamp is enabled.
So what effect does setting that parameter on the standby?
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2014-12-04 04:11:05 | Re: tracking commit timestamps |
Previous Message | Etsuro Fujita | 2014-12-04 03:35:54 | Re: inherit support for foreign tables |
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2014-12-04 04:11:05 | Re: tracking commit timestamps |
Previous Message | Fujii Masao | 2014-12-04 03:08:18 | Re: tracking commit timestamps |