pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: david.zhang@highgo.ca, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Cc: postgresql.org@coelho.net
Subject: Re: Allow continuations in "pg_hba.conf" files
Date: Thu, 2 Apr 2020 07:25:36 +0200 (CEST)
Message-ID: <alpine.DEB.2.21.2004020719140.16227@pseudo> (raw)
In-Reply-To: <20200402.132543.416761724007436728.horikyota.ntt@gmail.com>
References: <alpine.DEB.2.21.2003251906140.15243@pseudo>
	<alpine.DEB.2.21.2003252136490.15243@pseudo>
	<158578681240.24526.8013390670578487331.pgcf@coridan.postgresql.org>
	<20200402.132543.416761724007436728.horikyota.ntt@gmail.com>


Hello,

> FWIW, I don't think so. Generally a trailing backspace is an escape
> character for the following newline.  And '\ ' is a escaped space,
> which is usualy menas a space itself.
>
> In this case escape character doesn't work generally and I think it is 
> natural that a backslash in the middle of a line is a backslash 
> character itself.

I concur: The backslash char is only a continuation as the very last 
character of the line, before cr/nl line ending markers.

There are no assumption about backslash escaping, quotes and such, which 
seems reasonable given the lexing structure of the files, i.e. records of 
space-separated words, and # line comments.

-- 
Fabien.





view thread (11+ messages)  latest in thread

Message-ID: <alpine.DEB.2.21.2004020719140.16227@pseudo>
Permalink:  ../alpine.DEB.2.21.2004020719140.16227@pseudo/
Also on:    postgresql.org/message-id/alpine.DEB.2.21.2004020719140.16227@pseudo

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: coelho@cri.ensmp.fr, horikyota.ntt@gmail.com, postgresql.org@coelho.net
  Subject: Re: Allow continuations in "pg_hba.conf" files
  In-Reply-To: <alpine.DEB.2.21.2004020719140.16227@pseudo>
  References: <alpine.DEB.2.21.2003251906140.15243@pseudo> <alpine.DEB.2.21.2003252136490.15243@pseudo> <158578681240.24526.8013390670578487331.pgcf@coridan.postgresql.org> <20200402.132543.416761724007436728.horikyota.ntt@gmail.com> <alpine.DEB.2.21.2004020719140.16227@pseudo>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox