pgsql: Renumber confusing value for GUC_UNIT_BYTE

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Renumber confusing value for GUC_UNIT_BYTE
Date: 2022-09-07 09:11:11
Message-ID: E1oVr5S-001pXf-Jc@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Renumber confusing value for GUC_UNIT_BYTE

It had a power-of-two value, which looks right, and causes the other
values which aren't powers-of-two to look wrong. But this is tested
for equality and not a bitwise test.

See also:
6e7baa322773ff8c79d4d8883c99fdeff5bfa679
https://www.postgresql.org/message-id/CAOG9ApEu8bXVwBxkOO9J7ZpM76TASK_vFMEEiCEjwhMmSLiaqQ%40mail.gmail.com

Author: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/20220720145220(dot)GJ12702(at)telsasoft(dot)com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3fe76ab9722c2891855dd2b34261f7c23a2e5b2b

Modified Files
--------------
src/include/utils/guc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-09-07 09:11:37 Re: [PATCH] Renumber confusing value for GUC_UNIT_BYTE
Previous Message Justin Pryzby 2022-09-07 09:11:09 Re: [postgis-devel] PostGIS and json_categorize_type (Re: pgsql: Revert SQL/JSON features)