Re: pg_hba.conf - patch to report all parsing errors, and then bail

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: pg_hba.conf - patch to report all parsing errors, and then bail
Дата
Msg-id
15584.1236450512@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
pg_hba.conf - patch to report all parsing errors, and then bail Selena Deckelmann <selena@endpoint.com>
Re: pg_hba.conf - patch to report all parsing errors, and then bail Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_hba.conf - patch to report all parsing errors, and then bail Magnus Hagander <magnus@hagander.net>
Re: pg_hba.conf - patch to report all parsing errors, and then bail Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_hba.conf - patch to report all parsing errors, and then bail Magnus Hagander <magnus@hagander.net>
Re: pg_hba.conf - patch to report all parsing errors, and then bail Selena Deckelmann <selena@endpoint.com>
Selena Deckelmann  writes:
> Currently, load_hba() bails on the first parsing error. It would be 
> better for the typo-prone sysadmin if it reported ALL errors, and THEN 
> bailed out.

> This patch implements that behavior.  Tested against 8.4 HEAD this morning.

It sure looks like that's going to try to free new_parsed_lines more
than once.  Shouldn't clean_hba_list be done just once?
		regards, tom lane

В списке pgsql-hackers по дате отправления
От: Selena Deckelmann
Дата:
От: Magnus Hagander
Дата:
FAQ