Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJtcH-0002BU-7U for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Apr 2020 06:46:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jJtcG-0000Yg-5d for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Apr 2020 06:46:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJtcF-0000YZ-Ur for pgsql-hackers@lists.postgresql.org; Thu, 02 Apr 2020 06:46:15 +0000 Received: from courriel-2.mines-paristech.fr ([77.158.173.19] helo=antispam-1.ensmp.fr) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJtc9-0007p3-TD for pgsql-hackers@lists.postgresql.org; Thu, 02 Apr 2020 06:46:15 +0000 Received: from smtp-4.mines-paristech.fr (smtp-4.ensmp.fr [77.158.173.143]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by antispam-1.ensmp.fr (antispam.mines-paristech.fr) with ESMTPS id 4E44C567C7; Thu, 2 Apr 2020 08:46:09 +0200 (CEST) Received: from pseudo (108.237.219.88.rev.sfr.net [88.219.237.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp-4.mines-paristech.fr (Postfix) with ESMTPSA id DA9782C01C9; Thu, 2 Apr 2020 08:46:08 +0200 (CEST) Date: Thu, 2 Apr 2020 08:46:08 +0200 (CEST) From: Fabien COELHO X-X-Sender: fabien@pseudo To: Justin Pryzby cc: Kyotaro Horiguchi , david.zhang@highgo.ca, PostgreSQL Developers , postgresql.org@coelho.net Subject: Re: Allow continuations in "pg_hba.conf" files In-Reply-To: <20200402055819.GD14618@telsasoft.com> Message-ID: References: <158578681240.24526.8013390670578487331.pgcf@coridan.postgresql.org> <20200402.132543.416761724007436728.horikyota.ntt@gmail.com> <20200402055819.GD14618@telsasoft.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-CLAMAV-SCAN: ok X-VRSPAM-SCORE: -100 X-VRSPAM-STATE: legit X-VRSPAM-CAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedrtdefgdduuddvucetufdoteggodetrfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvufgjkfhffgggtgesthdtredttdervdenucfhrhhomhephfgrsghivghnucevqffgnffjqfcuoegtohgvlhhhohestghrihdrvghnshhmphdrfhhrqeenucfkphepkeekrddvudelrddvfeejrddutdeknecurfgrrhgrmhepmhhouggvpehsmhhtphhouhht X-VRSPAM-EXTCAUSE: mhhouggvpehsmhhtphhouhht List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Justin, >> 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. > > Quoting does allow words containing spaces: Ok. I meant that the continuation handling does not care of that, i.e. if the continuation is within quotes, then the quoted stuff is implicitely continuated, there is no different rule because it is within quotes. -- Fabien.