pgsql: Fix variable assignment thinko in hba.c - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix variable assignment thinko in hba.c
Date
Msg-id E1onXYP-000pwm-GN@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: Refactor code handling the names of files loaded in hba.c
Next
From: Julien Rouhaud
Date:
Subject: Re: pgsql: Refactor code handling the names of files loaded in hba.c