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 1pUkJW-0002xY-7I for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Feb 2023 08:17:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pUkJV-0000eU-0W for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Feb 2023 08:17:21 +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 1pUkJT-0000eK-Qq for pgsql-hackers@lists.postgresql.org; Wed, 22 Feb 2023 08:17:20 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUkJL-0008Lu-VM for pgsql-hackers@postgresql.org; Wed, 22 Feb 2023 08:17:19 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id 9EDEA582038 for ; Wed, 22 Feb 2023 03:17:07 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 22 Feb 2023 03:17:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1677053827; x=1677061027; bh=lkXXG7fu/zqbyMhZ/SAzc+aSP/PM ULZlbLMSUl1HlG8=; b=EzWD4x3bmMvrfaLCM9XtcjqiZ2o8UEwEsawuDz6q7YVv 9PCUmXQga8i1+jGe8mFt3aJzAU+UN9mPlFpV//cR49t8/mNvRaXSBy1D0MoG3YQF iN0IXtC/T+MZFBZSGJdHKFlUKvztn7qDF7o7TARXgcfMdsu1d3bvSudcVhOGSn0f fwcVQ3xy7NB0Po41uPly6pxTdCYrN8pENPhnw9ZB6fslmyyoyg+gOVQDJaIy/u2w TQQUmCIzRRsFrtcjZP82xLSploIZofyle/iV3WawB/Y3rEHJmXEb6846FmZyKIPk hpCp5jEScIKX0ivD8gi793FE3SrzYil1s/pbjnmxog== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudejkedgudduhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfhffuvfgtgfesthekre dttdefjeenucfhrhhomheprfgvthgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdr vghishgvnhhtrhgruhhtsegvnhhtvghrphhrihhsvggusgdrtghomheqnecuggftrfgrth htvghrnhepuedtgefgveeijeeuteetvddugfefteetvdehvdfhgfdujedutdduiefgtedv keffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepph gvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 22 Feb 2023 03:17:07 -0500 (EST) Message-ID: <480e3c67-b703-46ff-a418-d3b481d68372@enterprisedb.com> Date: Wed, 22 Feb 2023 09:17:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Content-Language: en-US From: Peter Eisentraut Subject: pgindent vs. git whitespace check To: pgsql-hackers Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Commit e4602483e95 accidentally introduced a situation where pgindent disagrees with the git whitespace check. The code is conn = libpqsrv_connect_params(keywords, values, /* expand_dbname = */ false, PG_WAIT_EXTENSION); where the current source file has 4 spaces before the /*, and the whitespace check says that that should be a tab. I think it should actually be 3 spaces, so that the "/*..." lines up with the "keywords..." and "PG_WAIT..." above and below. I suppose this isn't going to be a quick fix in pgindent, but if someone is keeping track, maybe this could be added to the to-consider list. In the meantime, I suggest we work around this, perhaps by conn = libpqsrv_connect_params(keywords, values, /* expand_dbname = */ false, PG_WAIT_EXTENSION); which appears to be robust for both camps.