]> granicus.if.org Git - postgresql/commit
Fix mistake in XLOG_SEG_SIZE test.
authorRobert Haas <rhaas@postgresql.org>
Tue, 8 Nov 2016 17:09:18 +0000 (12:09 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 8 Nov 2016 17:12:19 +0000 (12:12 -0500)
commit60379f66c8527a260bb1946f703540728d73932d
treed04ab4a3fcd0f33a48ec4437da36bcfb81bb132a
parentde4026c673f195cfdb7aa7cc87cc60e36963f094
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.
src/backend/utils/misc/guc.c