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 1gvkaN-0007UO-HM for pgsql-general@arkaria.postgresql.org; Mon, 18 Feb 2019 15:12:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gvkaM-0006hQ-14 for pgsql-general@arkaria.postgresql.org; Mon, 18 Feb 2019 15:11:58 +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 1gvkaL-0006cM-Ir for pgsql-general@lists.postgresql.org; Mon, 18 Feb 2019 15:11:57 +0000 Received: from mail.postgrespro.ru ([93.174.131.138]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gvkaI-0003ib-Q1 for pgsql-general@lists.postgresql.org; Mon, 18 Feb 2019 15:11:56 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id 7B37521C7A43; Mon, 18 Feb 2019 18:11:53 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at postgrespro.ru X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=x tagged_above=-99 required=4 WHITELISTED tests=[] autolearn=unavailable Received: from [192.168.27.237] (gw.postgrespro.ru [93.174.131.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix) with ESMTPSA id 4CB4821C79DC; Mon, 18 Feb 2019 18:11:53 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1550502713; bh=M7deLRwRCH6avjrUf3OHSAOIhjtQu+ODd5G1wmZyelY=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=axlCV1kQ1vOgK1X4zj6kgooUq1Ino/y7LIYIs5Dk0ASMHGdkAZgTpTGHQSusWc72k adBOKHve6aeK+N5CT0p8e5mhnYdxNgVBbr7BL0EtyQX3+RDiEWv1U/cc4vreTU75bB NEcd77utWujHi0xd6MpJuUp3S4ZkPKg/iYxogRYA= Subject: Re: Cannot vacuum even in single-user mode after xidStopLimit is reached To: Jahwan Kim Cc: pgsql-general@lists.postgresql.org References: <66439d0a-d00e-ca55-cad4-04925314be7e@postgrespro.ru> From: Arthur Zakirov Message-ID: <5b1df132-493f-465e-40a5-2630f458bf16@postgrespro.ru> Date: Mon, 18 Feb 2019 18:11:49 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 18.02.2019 17:18, Jahwan Kim wrote: > Thanks for the reply. > > (1) The problem is, I cannot drop any of the temp tables, not even in > the single-user mode. It says > 'vacuum', 'You might also need to commit or roll back old prepared > transactions.' > And, no, there seems to be no pending prepared transaction either. Can you show the exact whole message? Do I understand correctly. Are temp tables persist in pg_class even after trying to drop temp tables in single-user mode? -- Arthur Zakirov Postgres Professional: http://www.postgrespro.com Russian Postgres Company