pgsql: Fix thinko in comment - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Fix thinko in comment
Date
Msg-id E1f0TlK-00089v-Jl@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix thinko in comment

The listed numbers disagreed with the ones being used in the symbols;
but instead of just fixing the numbers in the comment, use the symbolic
name instead, which seems clearer.

This has been wrong all along, so apply back to 9.5 where BRIN was
introduced.

Reported-by: Tomas Vondra
Discussion: https://postgr.es/m/5ff514f2-8b1e-6366-b11c-8e2ed442562d@2ndquadrant.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b69df6fdbb9b0b903c595324cfef1e9363a60e7e

Modified Files
--------------
src/backend/access/brin/brin_inclusion.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Allow FOR EACH ROW triggers on partitioned tables
Next
From: Teodor Sigaev
Date:
Subject: pgsql: Set random seed for pgbench.