pgsql: Fix mistake in XLOG_SEG_SIZE test.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix mistake in XLOG_SEG_SIZE test.
Date: 2016-11-08 17:12:28
Message-ID: E1c49wi-0007Zc-6s@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix mistake in XLOG_SEG_SIZE test.

The intent of the test is to check whether XLOG_SEG_SIZE is in a
particular range, but actually in one case it compares XLOG_BLCKSZ
by mistake. Repair.

Commit 88e982302684246e8af785e78a467ac37c76dee9 introduced this
faulty test.

Kuntal Ghosh, reviewed by Michael Paquier.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/60379f66c8527a260bb1946f703540728d73932d

Modified Files
--------------
src/backend/utils/misc/guc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2016-11-08 17:39:18 pgsql: Fix typo
Previous Message Tom Lane 2016-11-08 17:00:33 pgsql: Use heap_modify_tuple not SPI_modifytuple in pl/python triggers.