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_yymxv...@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(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers