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 1l9QYg-0003wo-7j for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Feb 2021 10:47:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l9QYf-0002JP-4u for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Feb 2021 10:47:49 +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 1l9QYe-0002JI-UT for pgsql-hackers@lists.postgresql.org; Tue, 09 Feb 2021 10:47:48 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l9QYd-0004YN-4O for pgsql-hackers@lists.postgresql.org; Tue, 09 Feb 2021 10:47:47 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 114325C0181; Tue, 9 Feb 2021 05:47:46 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 09 Feb 2021 05:47:46 -0500 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= fm2; bh=DDqY1FUVjKt73Or8wZOyF1uWx8Q9VPi1yzcRGxj+H+M=; b=n2Vgn+np taNiH9ZgGQgqFWlunrCRrDpFgD9WlkAP+SDHWECibto22WAsh5vhHo1VEMcjY9JQ nVQuWu5rlqMUpFOOzjzIAodC2WFFazOvVc65oMMjir0dtarppHxVQ+GLUoCQM8sU wucLh4R13N1gJ+EQyM+Hdw/ES4pL61nul1a49uEWjTrz6wHWptGow/QLiqD78LQR TgdikwqwY5AlAeBmbn7lpbeVf7n3MKTCXxXoqYMZhEtGfZEigsrem/WK6vkvLliI of3Cn4PE/j/vvDZZoMufuFeIdljwiolLezqo091rb1hsrVI9jkHDQcwqXHDYw0kW 4n2wl+dKzTnyRA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrheehgddvudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggugfgjfgesthekre dttderudenucfhrhhomhepkdetlhhvrghrohcujfgvrhhrvghrrgdkuceorghlvhhhvghr rhgvsegrlhhvhhdrnhhoqdhiphdrohhrgheqnecuggftrfgrthhtvghrnhepgfdvvedvte eiheevgfeltdetgffghfeghedvleehvdetiedthffgjeegkeekjeeknecukfhppeduledt rdelhedrudelrddujeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.19.177]) by mail.messagingengine.com (Postfix) with ESMTPA id 7CE4624005B; Tue, 9 Feb 2021 05:47:45 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id ACB422A0F28; Tue, 9 Feb 2021 07:47:43 -0300 (-03) Date: Tue, 9 Feb 2021 07:47:43 -0300 From: 'Alvaro Herrera' To: "tsunakawa.takay@fujitsu.com" Cc: "iwata.aya@fujitsu.com" , "k.jamison@fujitsu.com" , "'pgsql-hackers@lists.postgresql.org'" Subject: Re: libpq debug log Message-ID: <20210209104743.GA30101@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2021-Feb-04, tsunakawa.takay@fujitsu.com wrote: > From: 'Alvaro Herrera' > > > (41) > > > +void > > > +PQtraceEx(PGconn *conn, FILE *debug_port, int flags) > > > +{ > > > > I'm not really sure about making this a separate API call. We could just > > make it PQtrace() and increment the libpq so version. I don't think > > it's a big deal, frankly. > > If we change the function signature, we have to bump the so major version and thus soname. The libpq's current so major version is 5, which hasn't been changed since 2006. I'm hesitant to change it for this feature. If you think we can bump the version to 6, I think we can go. I think it's pretty clear we would not change the so-version for this feature. -- Álvaro Herrera 39°49'30"S 73°17'W