Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ipfPZ-0005qk-Dx for pgsql-general@arkaria.postgresql.org; Thu, 09 Jan 2020 21:32:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ipfPY-0003EQ-4h for pgsql-general@arkaria.postgresql.org; Thu, 09 Jan 2020 21:32:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ipfPX-0003EI-RB for pgsql-general@lists.postgresql.org; Thu, 09 Jan 2020 21:32:11 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ipfPU-0006XL-1n for pgsql-general@lists.postgresql.org; Thu, 09 Jan 2020 21:32:11 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 009LViQd015233; Thu, 9 Jan 2020 16:31:44 -0500 From: Tom Lane To: Peter cc: pgsql-general@lists.postgresql.org Subject: Re: 12.1 not useable: clientlib fails after a dozen queries (GSSAPI ?) In-reply-to: <20200109205319.GA85142@gate.oper.dinoex.org> References: <20200109181822.GA74698@gate.oper.dinoex.org> <7042.1578595681@sss.pgh.pa.us> <20200109205319.GA85142@gate.oper.dinoex.org> Comments: In-reply-to Peter message dated "Thu, 09 Jan 2020 21:53:19 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15231.1578605504.1@sss.pgh.pa.us> Date: Thu, 09 Jan 2020 16:31:44 -0500 Message-ID: <15232.1578605504@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter writes: > I don't think this has anything to do with "pg". Just checked: I get > garbage and misbehaviour on the "psql" command line tool also: > $ psql -h myhost flowmdev > psql (12.1) > GSSAPI-encrypted connection > Type "help" for help. > flowmdev=> select * from flows; > message type 0x44 arrived from server while idle > message type 0x44 arrived from server while idle > message type 0x44 arrived from server while idle Oh ... that does look pretty broken. However, we've had no other similar reports, so there must be something unique to your configuration. Busted GSSAPI library, or some ABI inconsistency, perhaps? What platform are you on, and how did you build or obtain this Postgres code? regards, tom lane