[COMMITTERS] pgsql: Restructure hba.c to replace 3 parallel lists with single listo - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Restructure hba.c to replace 3 parallel lists with single listo
Date
Msg-id E1cXBUH-0006HY-BF@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Restructure hba.c to replace 3 parallel lists with single list of structs.

tokenize_file() now returns a single list of TokenizedLine structs,
carrying the same information as before.  We were otherwise going to grow a
fourth list to deal with error messages, and that was getting a bit silly.

Haribabu Kommi, revised a bit by me

Discussion: https://postgr.es/m/CAJrrPGfbgbKsjYp=bgZXhMcgxoaGSoBb9fyjrDoOW_YymXv1Kw@mail.gmail.com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/350cb921ae2ced8674e098d0645f2493e5757ad1

Modified Files
--------------
src/backend/libpq/hba.c | 134 +++++++++++++++++++++++++-----------------------
1 file changed, 70 insertions(+), 64 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Improve comments about ProcessUtility's queryString parameter.
Next
From: Robert Haas
Date:
Subject: [COMMITTERS] pgsql: Refactor bitmap heap scan estimation of heap pages fetched.