pgsql: Fix variable assignment thinko in hba.c

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Fix variable assignment thinko in hba.c
Дата
Msg-id E1onXYP-000pwm-GN@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Refactor code handling the names of files loaded in hba.c
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: pgsql: Refactor code handling the names of files loaded in hba.c