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 1lK4jv-0007qH-8l for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Mar 2021 19:43:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lK4ju-0007Kt-6N for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Mar 2021 19:43:26 +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 1lK4jt-0007Kg-95 for pgsql-hackers@lists.postgresql.org; Wed, 10 Mar 2021 19:43:25 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lK4jp-00063L-1L for pgsql-hackers@lists.postgresql.org; Wed, 10 Mar 2021 19:43:24 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 901BC2BDA; Wed, 10 Mar 2021 14:43:18 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 10 Mar 2021 14:43:19 -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=jOxeWGyBTDlHbRV3q+HvYTTJokCGG81i/OErrIN34Qg=; b=BExq494K ogFTZrzr4Y+JmlTdyDv+SaKheaOzrYpjX1OZtarW0U079uOATgnZ9TzBF8T3MyN2 PIfU2iNaiDWtiF2qo+Mxpq0jC4zSbw2eE9tBAh6jELCQq0uW3QbfquZRuwSgBGrq JKC6RTDbBNfa690yHTl1n3RffMyvuLeGWycpiTSRqjoQcGolDbKj18jGmYq7cId4 0sq4Lwtds3tIs7LqkqsGRvN+H5iQLY18KoqsfZdSu/vGLAXSiNhysp5SfL7z7FW0 GcEKpMN41re4trKyALrVFrsW7IiSUvBECaJjrS94mpTd9JIY3ZCoQA0YSv5KoefU 9coyfHV9doLeMQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddukedguddvkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecuogetfedtledqtdduucdlvddtmdenucfjughrpe ffhffvuffkgggtugfgjggfsehtkeertddtredunecuhfhrohhmpedfkdgrlhhvhhgvrhhr vgesrghlvhhhrdhnohdqihhprdhorhhgkddfuceorghlvhhhvghrrhgvsegrlhhvhhdrnh hoqdhiphdrohhrgheqnecuggftrfgrthhtvghrnhepheekgeeivdeuffelhedtueffteej jedtteetueekuddvgeduiefhfeffvefftddunecukfhppeduledtrdelhedrudelrdelhe enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhv hhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.19.95]) by mail.messagingengine.com (Postfix) with ESMTPA id 254811080059; Wed, 10 Mar 2021 14:43:17 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 3EEFC2A0914; Wed, 10 Mar 2021 16:43:14 -0300 (-03) Date: Wed, 10 Mar 2021 16:43:14 -0300 From: "'alvherre@alvh.no-ip.org'" To: "iwata.aya@fujitsu.com" Cc: "tsunakawa.takay@fujitsu.com" , 'Tom Lane' , "k.jamison@fujitsu.com" , 'Kyotaro Horiguchi' , "pgsql-hackers@lists.postgresql.org" Subject: Re: libpq debug log Message-ID: <20210310194314.GA22403@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210310143527.GA31741@alvherre.pgsql> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Mar-10, 'alvherre@alvh.no-ip.org' wrote: > I also found that DataRow messages are not being printed. This seems to > fix that in the normal case and singlerow, at least in pipeline mode. > Didn't verify the non-pipeline mode. Hm, and RowDescription ('T') messages are also not being printed ... so I think there's some larger problem here, and perhaps it needs to be fixed using a different approach. After staring at it a couple of times, I think that the places in pqParseInput3() where there's a comment "... moves inStart itself" and then "continue;" should have a call to pqTraceOutputMsg(), since AFAIU those are the places where the message in question would not reach the "Successfully consumed this message" block that prints each message. -- Álvaro Herrera 39°49'30"S 73°17'W Maybe there's lots of data loss but the records of data loss are also lost. (Lincoln Yeoh)