Re: Allow continuations in "pg_hba.conf" files

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: Allow continuations in "pg_hba.conf" files
Дата
Msg-id alpine.DEB.2.21.2003252136490.15243@pseudo
обсуждение исходный текст
Ответ на Re: Allow continuations in "pg_hba.conf" files  (Justin Pryzby <pryzby@telsasoft.com>)
Ответы Re: Allow continuations in "pg_hba.conf" files  (David Zhang <david.zhang@highgo.ca>)
Список pgsql-hackers
Hello Justin,

thanks for the feedback.

>> -   Records cannot be continued across lines.
>> +   Records can be backslash-continued across lines.
>
> Maybe say: "lines ending with a backslash are logically continued on the next
> line", or similar.

I tried to change it along that.

> Since it puts a blank there, it creates a "word" boundary, which I gather
> worked for your use case.  But I wonder whether it's needed to add a space (or
> otherwise, document that lines cannot be split beween words?).

Hmmm. Ok, you are right. I hesitated while doing it. I removed the char 
instead, so that it does not add a word break.

> Note, that also appears to affect the "username maps" file.  So mention 
> in that chapter, too. 
> https://www.postgresql.org/docs/current/auth-username-maps.html

Indeed, the same tokenizer is used. I updated a sentence to point on 
continuations.

-- 
Fabien.
Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Spurious "apparent wraparound" via SimpleLruTruncate() rounding
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: backup manifests