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 1lagqC-0005Gc-6O for pgsql-general@arkaria.postgresql.org; Sun, 25 Apr 2021 15:38:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lagpf-0008HM-7O for pgsql-general@arkaria.postgresql.org; Sun, 25 Apr 2021 15:38:03 +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 1lagpe-0008Gi-Ub for pgsql-general@lists.postgresql.org; Sun, 25 Apr 2021 15:38:02 +0000 Received: from ms-10.1blu.de ([178.254.4.101]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lagpY-0007fx-FM for pgsql-general@lists.postgresql.org; Sun, 25 Apr 2021 15:38:01 +0000 Received: from [188.174.61.177] (helo=c720-r368166.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lagpV-0003wt-EV; Sun, 25 Apr 2021 17:37:53 +0200 Received: from c720-r368166.fritz.box (localhost [127.0.0.1]) by c720-r368166.unixarea.de (8.16.1/8.14.9) with ESMTPS id 13PFbquk002390 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 25 Apr 2021 17:37:52 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by c720-r368166.fritz.box (8.16.1/8.14.9/Submit) id 13PFbqDr002389; Sun, 25 Apr 2021 17:37:52 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: c720-r368166.fritz.box: guru set sender to guru@unixarea.de using -f Date: Sun, 25 Apr 2021 17:37:52 +0200 From: Matthias Apitz To: Laurenz Albe , pgsql-general@lists.postgresql.org Subject: Re: client waits for end of update operation and server proc is idle Message-ID: Reply-To: Matthias Apitz References: <0551daad25ee518071e002ca17c4b6dac08a236c.camel@cybertec.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 13.0-CURRENT r368166 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.61.177 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk El día domingo, abril 25, 2021 a las 01:54:49p. m. +0200, Matthias Apitz escribió: From the collected data, I tend to say: this must be a bug in the Pos > server... > At the end of the day, it turned out that out client caused the problem. Because we were hunting some other issue, the client was logging some message with fprintf(stderr, ...) but the fd=2 was not stderr, fd=2 was the connection to the socket of the PostgreSQL server. And ofc the Pos server could not understand our human message. Problem solved. Sorry for all the noise. matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub