pgsql: Fix variable assignment thinko in hba.c

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix variable assignment thinko in hba.c
Date: 2022-10-26 03:58:10
Message-ID: E1onXYP-000pwm-GN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix variable assignment thinko in hba.c

The intention behind 1b73d0b was to limit the use of TokenizedAuthLine,
but I have fat-fingered one location in parse_hba_line() when creating
the HbaLine, where this should use the local variable and not the value
coming from TokenizedAuthLine. This logic is the exactly the same, but
let's be clean about all that on consistency grounds.

Reported-by: Julien Rouhaud
Discussion: https://postgr.es/m/20221026032730.k3sib5krgm7l6njk@jrouhaud

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/37d264478ab47e8fa03751c39ba2c5dd447b89c8

Modified Files
--------------
src/backend/libpq/hba.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Julien Rouhaud 2022-10-26 04:07:35 Re: pgsql: Refactor code handling the names of files loaded in hba.c
Previous Message Michael Paquier 2022-10-26 03:54:24 Re: pgsql: Refactor code handling the names of files loaded in hba.c