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 1lRyeB-0006jH-BL for pgsql-hackers@arkaria.postgresql.org; Thu, 01 Apr 2021 14:50:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lRyeA-0004Ns-9B for pgsql-hackers@arkaria.postgresql.org; Thu, 01 Apr 2021 14:50:10 +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 1lRyeA-0004Nl-2e for pgsql-hackers@lists.postgresql.org; Thu, 01 Apr 2021 14:50:10 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lRye8-0006fC-0P for pgsql-hackers@lists.postgresql.org; Thu, 01 Apr 2021 14:50:09 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 131Enxpi3407934; Thu, 1 Apr 2021 10:49:59 -0400 From: Tom Lane To: "'alvherre@alvh.no-ip.org'" cc: "iwata.aya@fujitsu.com" , "tsunakawa.takay@fujitsu.com" , "'Kyotaro Horiguchi'" , "k.jamison@fujitsu.com" , "pgsql-hackers@lists.postgresql.org" Subject: Re: libpq debug log In-reply-to: <20210401124850.GA19247@alvherre.pgsql> References: <20210401124850.GA19247@alvherre.pgsql> Comments: In-reply-to "'alvherre@alvh.no-ip.org'" message dated "Thu, 01 Apr 2021 09:48:50 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3407932.1617288599.1@sss.pgh.pa.us> Date: Thu, 01 Apr 2021 10:49:59 -0400 Message-ID: <3407933.1617288599@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk BTW, what in the world is this supposed to accomplish? - (long long) rows_to_send); + (1L << 62) + (long long) rows_to_send); Various buildfarm members are complaining that the shift distance is more than the width of "long", which I'd just fix with s/L/LL/ except that the addition of the constant seems just wrong to begin with. regards, tom lane