pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Cleanup commit timestamp module activaction, again
7+ messages / 4 participants
[nested] [flat]
* pgsql: Cleanup commit timestamp module activaction, again
@ 2015-10-27 18:07 Alvaro Herrera <alvherre@alvh.no-ip.org>
2015-10-27 23:54 ` Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again Robert Haas <robertmhaas@gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Alvaro Herrera @ 2015-10-27 18:07 UTC (permalink / raw)
To: pgsql-committers
Cleanup commit timestamp module activaction, again
Further tweak commit_ts.c so that on a standby the state is completely
consistent with what that in the master, rather than behaving
differently in the cases that the settings differ. Now in standby and
master the module should always be active or inactive in lockstep.
Author: Petr Jelínek, with some further tweaks by Álvaro Herrera.
Backpatch to 9.5, where commit timestamps were introduced.
Discussion: http://www.postgresql.org/message-id/5622BF9D.2010409@2ndquadrant.com
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/531d21b75ff6b18ea8638c736a05326ebd519f49
Modified Files
--------------
src/backend/access/transam/commit_ts.c | 149 +++++++++++++++++---------------
src/backend/commands/vacuum.c | 2 +-
src/include/access/commit_ts.h | 2 +-
3 files changed, 81 insertions(+), 72 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again
2015-10-27 18:07 pgsql: Cleanup commit timestamp module activaction, again Alvaro Herrera <alvherre@alvh.no-ip.org>
@ 2015-10-27 23:54 ` Robert Haas <robertmhaas@gmail.com>
2015-10-28 00:48 ` Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 7+ messages in thread
From: Robert Haas @ 2015-10-27 23:54 UTC (permalink / raw)
To: Alvaro Herrera <alvherre@alvh.no-ip.org>; +Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
On Tue, Oct 27, 2015 at 7:07 PM, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> Cleanup commit timestamp module activaction, again
>
> Further tweak commit_ts.c so that on a standby the state is completely
> consistent with what that in the master, rather than behaving
> differently in the cases that the settings differ. Now in standby and
> master the module should always be active or inactive in lockstep.
>
> Author: Petr Jelínek, with some further tweaks by Álvaro Herrera.
>
> Backpatch to 9.5, where commit timestamps were introduced.
The buildfarm seems to be very unhappy right now, and it looks as if
this commit is to blame.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again
2015-10-27 18:07 pgsql: Cleanup commit timestamp module activaction, again Alvaro Herrera <alvherre@alvh.no-ip.org>
2015-10-27 23:54 ` Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again Robert Haas <robertmhaas@gmail.com>
@ 2015-10-28 00:48 ` Tom Lane <tgl@sss.pgh.pa.us>
2015-10-28 01:45 ` Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again Alvaro Herrera <alvherre@2ndquadrant.com>
0 siblings, 1 reply; 7+ messages in thread
From: Tom Lane @ 2015-10-28 00:48 UTC (permalink / raw)
To: Robert Haas <robertmhaas@gmail.com>; +Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>; pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Oct 27, 2015 at 7:07 PM, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>> Cleanup commit timestamp module activaction, again
> The buildfarm seems to be very unhappy right now, and it looks as if
> this commit is to blame.
I think it's just failure to update an expected-file, but will leave it
to Alvaro.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again
2015-10-27 18:07 pgsql: Cleanup commit timestamp module activaction, again Alvaro Herrera <alvherre@alvh.no-ip.org>
2015-10-27 23:54 ` Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again Robert Haas <robertmhaas@gmail.com>
2015-10-28 00:48 ` Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again Tom Lane <tgl@sss.pgh.pa.us>
@ 2015-10-28 01:45 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2015-10-28 01:52 ` Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 7+ messages in thread
From: Alvaro Herrera @ 2015-10-28 01:45 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Robert Haas <robertmhaas@gmail.com>; pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Tom Lane wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
> > On Tue, Oct 27, 2015 at 7:07 PM, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> >> Cleanup commit timestamp module activaction, again
>
> > The buildfarm seems to be very unhappy right now, and it looks as if
> > this commit is to blame.
>
> I think it's just failure to update an expected-file, but will leave it
> to Alvaro.
I don't understand. It passed make check fine for me on both branches.
Will fix in a jiffy.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again
2015-10-27 18:07 pgsql: Cleanup commit timestamp module activaction, again Alvaro Herrera <alvherre@alvh.no-ip.org>
2015-10-27 23:54 ` Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again Robert Haas <robertmhaas@gmail.com>
2015-10-28 00:48 ` Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again Tom Lane <tgl@sss.pgh.pa.us>
2015-10-28 01:45 ` Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again Alvaro Herrera <alvherre@2ndquadrant.com>
@ 2015-10-28 01:52 ` Tom Lane <tgl@sss.pgh.pa.us>
2015-10-28 02:06 ` Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again Alvaro Herrera <alvherre@2ndquadrant.com>
0 siblings, 1 reply; 7+ messages in thread
From: Tom Lane @ 2015-10-28 01:52 UTC (permalink / raw)
To: Alvaro Herrera <alvherre@2ndquadrant.com>; +Cc: Robert Haas <robertmhaas@gmail.com>; pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Tom Lane wrote:
>> I think it's just failure to update an expected-file, but will leave it
>> to Alvaro.
> I don't understand. It passed make check fine for me on both branches.
> Will fix in a jiffy.
There are two variant expected files for that module --- did you fix
both?
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again
2015-10-27 18:07 pgsql: Cleanup commit timestamp module activaction, again Alvaro Herrera <alvherre@alvh.no-ip.org>
2015-10-27 23:54 ` Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again Robert Haas <robertmhaas@gmail.com>
2015-10-28 00:48 ` Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again Tom Lane <tgl@sss.pgh.pa.us>
2015-10-28 01:45 ` Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again Alvaro Herrera <alvherre@2ndquadrant.com>
2015-10-28 01:52 ` Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again Tom Lane <tgl@sss.pgh.pa.us>
@ 2015-10-28 02:06 ` Alvaro Herrera <alvherre@2ndquadrant.com>
0 siblings, 0 replies; 7+ messages in thread
From: Alvaro Herrera @ 2015-10-28 02:06 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Robert Haas <robertmhaas@gmail.com>; pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Tom Lane wrote:
> Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> > Tom Lane wrote:
> >> I think it's just failure to update an expected-file, but will leave it
> >> to Alvaro.
>
> > I don't understand. It passed make check fine for me on both branches.
> > Will fix in a jiffy.
>
> There are two variant expected files for that module --- did you fix
> both?
Yeah, this was the problem: make installcheck almost always exercises
the case with the setting disabled, which make check doesn't test.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Cleanup commit timestamp module activaction, again
@ 2015-10-27 18:07 Alvaro Herrera <alvherre@alvh.no-ip.org>
0 siblings, 0 replies; 7+ messages in thread
From: Alvaro Herrera @ 2015-10-27 18:07 UTC (permalink / raw)
To: pgsql-committers
Cleanup commit timestamp module activaction, again
Further tweak commit_ts.c so that on a standby the state is completely
consistent with what that in the master, rather than behaving
differently in the cases that the settings differ. Now in standby and
master the module should always be active or inactive in lockstep.
Author: Petr Jelínek, with some further tweaks by Álvaro Herrera.
Backpatch to 9.5, where commit timestamps were introduced.
Discussion: http://www.postgresql.org/message-id/5622BF9D.2010409@2ndquadrant.com
Branch
------
REL9_5_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/68cc162e454a166a2a6ca992aeb759edcc56adc3
Modified Files
--------------
src/backend/access/transam/commit_ts.c | 149 +++++++++++++++++---------------
src/backend/commands/vacuum.c | 2 +-
src/include/access/commit_ts.h | 2 +-
3 files changed, 81 insertions(+), 72 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2015-10-28 02:06 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-10-27 18:07 pgsql: Cleanup commit timestamp module activaction, again Alvaro Herrera <alvherre@alvh.no-ip.org>
2015-10-27 23:54 ` Robert Haas <robertmhaas@gmail.com>
2015-10-28 00:48 ` Tom Lane <tgl@sss.pgh.pa.us>
2015-10-28 01:45 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2015-10-28 01:52 ` Tom Lane <tgl@sss.pgh.pa.us>
2015-10-28 02:06 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2015-10-27 18:07 pgsql: Cleanup commit timestamp module activaction, again Alvaro Herrera <alvherre@alvh.no-ip.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox