> > change the function name.
> Changed the context name and the comment only.
Check.
+} lookup_hba_line_context;
^^^^^ but why TAB here?
> >> > Still remains an issue of representing special keywords in database and
> >> > user_name fields, but there was no consensus about that though.
> >>
> >> How about adding keyword_database and keyword_user columns to listing
> >> out the keywords. These columns will be populated only when the hba line
> >> contains any keywords.
> >
> >
> > Hm... that could work too.
>
> Here I attached patch with the added two keyword columns.
+ if (!tok->quoted && strcmp(tok->string, "all") == 0)
token_is_keyword(tok, "all") ?
> During the testing with different IP comparison methods like 'samehost' or
> 'samenet', the address details are not displayed. Is there any need of
> showing the IP compare method also?
Do you mean return "samehost/samenet/all" in the yet another keyword_address out parameter or something like that?
--
Alex