Обсуждение: [COMMITTERS] pgsql: Restructure hba.c to replace 3 parallel lists with single listo

Поиск
Список
Период
Сортировка

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

От
Tom Lane
Дата:
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(-)