pgsql: Fix mistake in XLOG_SEG_SIZE test. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Fix mistake in XLOG_SEG_SIZE test.
Date
Msg-id E1c49wi-0007Zc-6s@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Use heap_modify_tuple not SPI_modifytuple in pl/python triggers.
Next
From: Magnus Hagander
Date:
Subject: pgsql: Fix typo