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 1lpXpF-0000a6-NC for pgsql-hackers@arkaria.postgresql.org; Sat, 05 Jun 2021 15:03:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lpXpC-0004fv-LQ for pgsql-hackers@arkaria.postgresql.org; Sat, 05 Jun 2021 15:02:58 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lpXpB-0004fi-Qn for pgsql-hackers@lists.postgresql.org; Sat, 05 Jun 2021 15:02:58 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lpXp9-0001ne-4Q for pgsql-hackers@lists.postgresql.org; Sat, 05 Jun 2021 15:02:56 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id A25A65C006E; Sat, 5 Jun 2021 11:02:53 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 05 Jun 2021 11:02:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=zeItFMHik+MbBjt63HJ8YInEb3ovIcsZDuDYVd2r7KA=; b=Y9712Akj SFYorMRNytcAPoqv2hgTkg6Rx3DWzb34uLwBvAiN5S4CSGJQZ5OPg5TBJLtcJ8qF JkO3wllQhbNaEBXsuT26+L3yjhGSIIVIX0qJkmqS+3D8wjkxBLTeNzzZm7AjQ5ql iSKUWsKh3USa4bQYJPXKEHnFVuh2XvNVpvgpjuaogsODDqW8BIytKex62rUKhJXu S9xcE11mZfp24ncIDxRGZmZSC552WU18+JoEpfjveAoPODbYoRJBpw/3Jny032NB vuRAagD6w+FlkRbAKOiE/Nj7Z6Dh2MuZCWLZcuM4X7I/MRiylUqgiu1pO15ejX8N naybsEB9IUYsgg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedtfedgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehtkeertddttddunecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpeeggeevveffveejffdutefhvddtgeeghffhgfeuhfefjeei gfevhfefleevtdduteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 5 Jun 2021 11:02:52 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 7FC732A0D45; Sat, 5 Jun 2021 11:02:49 -0400 (-04) Date: Sat, 5 Jun 2021 11:02:49 -0400 From: Alvaro Herrera To: Noah Misch Cc: Tom Lane , Kyotaro Horiguchi , iwata.aya@fujitsu.com, tsunakawa.takay@fujitsu.com, k.jamison@fujitsu.com, pgsql-hackers@lists.postgresql.org Subject: Re: libpq debug log Message-ID: <202106051502.l252ugdz7cg6@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210605060555.GA216695@rfd.leadboat.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Jun-04, Noah Misch wrote: > On Fri, Apr 09, 2021 at 05:16:11PM -0400, Alvaro Herrera wrote: > > Pushed now. > > This added a PQtraceSetFlags() function. We have a dozen PQset*() functions, > but this and PQresultSetInstanceData() are the only PQSomethingSet() > functions. Is it okay if I rename it to PQsetTraceFlags()? I think that > would be more idiomatic for libpq. Hmm, there is an obvious parallel between PQtrace() and PQtraceSetFlags() which is lost with your proposed rename. I'm not wedded to the name though, so I'm just -0.1 on the rename. If you feel strongly about it, I won't oppose it. -- Álvaro Herrera Valdivia, Chile "La espina, desde que nace, ya pincha" (Proverbio africano)