Re: parsing pg_ident.conf

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: parsing pg_ident.conf
Дата
Msg-id alpine.DEB.2.22.394.2011201548070.42321@pseudo
обсуждение исходный текст
Ответ на Re: parsing pg_ident.conf  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
>>> I noticed somewhat to my surprise as I was prepping the tests for the
>>> "match the whole DN" patch that pg_ident.conf is parsed using the same
>>> routines used for pg_hba.conf, and as a result the DN almost always
>>> needs to be quoted, because they almost all contain a comma e.g.
>>> "O=PGDG,OU=Testing". Even if we didn't break on commas we would probably
>>> need to quote most of them, because it's very common to include spaces
>
> Maybe we should add a comment at the top of the file about when quoting
> is needed.

Yes, that is a good place to point that out. Possibly it would also be 
worth to add something in 20.2, including an example?

-- 
Fabien.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Steele
Дата:
Сообщение: Re: Online verification of checksums
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: abstract Unix-domain sockets