Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a2Pxp-00019F-GZ for pgsql-admin@arkaria.postgresql.org; Fri, 27 Nov 2015 20:49:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a2Pxp-0000Gb-1B for pgsql-admin@arkaria.postgresql.org; Fri, 27 Nov 2015 20:49:53 +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_SHA384:256) (Exim 4.84) (envelope-from ) id 1a2PwB-0006r6-DK for pgsql-admin@postgresql.org; Fri, 27 Nov 2015 20:48:11 +0000 Received: from out.smtp-auth.no-ip.com ([8.23.224.60]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1a2Pw6-0001aX-Qs for pgsql-admin@postgresql.org; Fri, 27 Nov 2015 20:48:10 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [200.104.53.52]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 4EED2400D5F; Fri, 27 Nov 2015 12:47:59 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 84C006430; Fri, 27 Nov 2015 17:47:57 -0300 (CLT) Date: Fri, 27 Nov 2015 17:47:57 -0300 From: Alvaro Herrera To: Tom Lane Cc: Kouber Saparev , pgsql-admin@postgresql.org Subject: Re: VACUUM unable to accomplish because of a non-existent MultiXactId Message-ID: <20151127204757.GF4320@alvherre.pgsql> References: <62FE8F79-7278-4AE0-9FDE-0C0277A7B609@gmail.com> <20151127184936.GD4320@alvherre.pgsql> <5403.1448652828@sss.pgh.pa.us> <20151127195328.GE4320@alvherre.pgsql> <8089.1448656526@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8089.1448656526@sss.pgh.pa.us> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Tom Lane wrote: > Alvaro Herrera writes: > > Tom Lane wrote: > >> Couldn't creation and deletion of a toasted object within the same > >> transaction do it? > > > I tried and couldn't find a way to cause one to appear. When a row is > > created, it has xmax=0 so when it's deleted the xmax can just be set to > > the deleting xact. And we don't ever update pg_toast rows, AFAIK. > > Ah, nevermind, brain fade ... I was momentarily confusing this with > combo CIDs. Right, there are no updates or row locks taken on toast > table rows (unless someone were to do one manually?) Both UPDATE and SELECT FOR UPDATE fail right away: alvherre=# update pg_toast.pg_toast_16398 set chunk_id = 7 where chunk_id = 5; ERROR: cannot change TOAST relation "pg_toast_16398" alvherre=# select * from pg_toast.pg_toast_16398 for update; ERROR: cannot lock rows in TOAST relation "pg_toast_16398" -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin