Re: Allow continuations in "pg_hba.conf" files - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: Allow continuations in "pg_hba.conf" files
Date
Msg-id alpine.DEB.2.21.2003252136490.15243@pseudo
Whole thread Raw
In response to Re: Allow continuations in "pg_hba.conf" files  (Justin Pryzby <pryzby@telsasoft.com>)
Responses Re: Allow continuations in "pg_hba.conf" files
List 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.
Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Spurious "apparent wraparound" via SimpleLruTruncate() rounding
Next
From: Stephen Frost
Date:
Subject: Re: backup manifests