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 1gSlNS-0002JC-0N for pgsql-general@arkaria.postgresql.org; Fri, 30 Nov 2018 16:10:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gSlNQ-0004Yo-PV for pgsql-general@arkaria.postgresql.org; Fri, 30 Nov 2018 16:10:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gSlNQ-0004V9-CN for pgsql-general@lists.postgresql.org; Fri, 30 Nov 2018 16:10:48 +0000 Received: from smtp5.hushmail.com ([65.39.178.142]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gSlNN-0004N6-R0 for pgsql-general@lists.postgresql.org; Fri, 30 Nov 2018 16:10:47 +0000 Received: from smtp5.hushmail.com (localhost [127.0.0.1]) by smtp5.hushmail.com (Postfix) with SMTP id ED25E20E6E for ; Fri, 30 Nov 2018 16:10:43 +0000 (UTC) Received: from smtp.hushmail.com (w2.hushmail.com [65.39.178.46]) by smtp5.hushmail.com (Postfix) with ESMTP; Fri, 30 Nov 2018 16:10:42 +0000 (UTC) Subject: Re: psql is hanging From: Chris Mair To: John Smith , pgsql-general@lists.postgresql.org References: <285ebefdfdbaffaae8812c5ed1e695ef@smtp.hushmail.com> Message-ID: <2ed8e07b279b4f4f8abc79b56b8eca94@smtp.hushmail.com> Date: Fri, 30 Nov 2018 17:10:39 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: <285ebefdfdbaffaae8812c5ed1e695ef@smtp.hushmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >> We're kind of pulling out our hair here, any ideas? > > You might try issuing the command > >   analyze; > > right *before* the command that hangs. Clarification: I meant to say: "put it into the script at the location right before the command, that hangs". Bye, Chris.