pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: - - <thusson@informiciel.com>
To: Andres Freund <andres@anarazel.de>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Temp table handling after anti-wraparound shutdown (Was: BUG #15840)
Date: Mon, 10 Jun 2019 14:22:41 -0400 (EDT)
Message-ID: <1336197128.294743.1560190961901@email.ionos.com> (raw)
In-Reply-To: <20190609213126.uutlkqlrsud3bdfs@alap3.anarazel.de>
References: <15840-06c9565bfd8099f6@postgresql.org>
	<20190607190231.6psb6w3bvlod7lvk@alap3.anarazel.de>
	<20190607145911.Horde.MKizKAnShw4nKEYGDUC2M-T@webmail.iciel.com>
	<20190607201002.cado5goe3rcup43n@alap3.anarazel.de>
	<20190607164027.Horde._egTUMJMTDBA4f31sPYgl_J@webmail.iciel.com>
	<20190607225843.z73jqqyy6hhc6qnp@alap3.anarazel.de>
	<20190607235937.GA1590@paquier.xyz>
	<20190608002632.ptuvc6tbffjhlsgi@alap3.anarazel.de>
	<20190608014540.GC7228@paquier.xyz>
	<20190608040639.Horde.mXgiHVLprn9sAsYXLi6I9up@webmail.iciel.com>
	<20190609213126.uutlkqlrsud3bdfs@alap3.anarazel.de>

<!DOCTYPE html>
<html><head>
    <meta charset="UTF-8">
</head><body><p class="default-style">Sorry for previous messup.</p><p class="default-style">&#62; Hm, I&#39;d like to know more about that corruption. Did you report it when</p><p class="default-style">&#62; it occured?</p><p class="default-style">Thanks Andres for explanations. I didn&#39;t reported the corruption when it</p><p class="default-style">occured as it was my fault, not a PG bug, as the main cause was that I was</p><p class="default-style">using network drive, knowingly it&#39;s unreliable for DB but management didn&#39;t</p><p class="default-style">believe me.</p><p class="default-style">I had these kind of errors:</p><p class="default-style">pg_dump emet_istina -F c -n usr_...</p><p class="default-style">pg_dump: schema with OID 308991 does not exist</p><p class="default-style">\dt+ pg_temp*.*</p><p class="default-style">ERROR:&#160; catalog is missing 1 attribute(s) for relid 5733555</p><p class="default-style">drop schema pg_temp_9;</p><p class="default-style">ERROR:&#160; cache lookup failed for relation 5733715</p><p class="default-style">drop schema pg_temp_6;</p><p class="default-style">ERROR:&#160; cannot drop schema pg_temp_6 because other objects depend on it</p><p class="default-style">DETAIL:&#160; table pg_temp_6.cur_dde000_105577 depends on schema pg_temp_6</p><p class="default-style">HINT:&#160; Use DROP ... CASCADE to drop the dependent objects too.</p><p class="default-style">I had to manualy remove/edit records from pg_class, pg_type, pg_namespace,</p><p class="default-style">pg_depend, pg_shdepend.</p><p class="default-style">I finaly managed to make it works and could dump everything and rebuild the</p><p class="default-style">DB for more security. Server was down for 1 week, and that event gave me</p><p class="default-style">proven arguments to have local storage. That was with 9.6 and I took the</p><p class="default-style">opportunity to upgrade to 10.3 at the same time.</p><p class="default-style">Now it&#39;s more clear it&#39;s a PG9/10/12 (I didn&#39;t tried 11) problem with</p><p class="default-style">vacuum/autovacuum not changing xid on temp tables. So, as long a temp table</p><p class="default-style">exists, it take age and finish by causing a wraparound protection.</p><p class="default-style">Thierry</p></body></html>
 





view thread (10+ messages)  latest in thread

Message-ID: <1336197128.294743.1560190961901@email.ionos.com>
Permalink:  ../1336197128.294743.1560190961901@email.ionos.com/
Also on:    postgresql.org/message-id/1336197128.294743.1560190961901@email.ionos.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: thusson@informiciel.com, andres@anarazel.de, michael@paquier.xyz, robertmhaas@gmail.com, tgl@sss.pgh.pa.us, pgsql-hackers@lists.postgresql.org
  Subject: Re: Temp table handling after anti-wraparound shutdown (Was: BUG #15840)
  In-Reply-To: <1336197128.294743.1560190961901@email.ionos.com>
  References: <15840-06c9565bfd8099f6@postgresql.org> <20190607190231.6psb6w3bvlod7lvk@alap3.anarazel.de> <20190607145911.Horde.MKizKAnShw4nKEYGDUC2M-T@webmail.iciel.com> <20190607201002.cado5goe3rcup43n@alap3.anarazel.de> <20190607164027.Horde._egTUMJMTDBA4f31sPYgl_J@webmail.iciel.com> <20190607225843.z73jqqyy6hhc6qnp@alap3.anarazel.de> <20190607235937.GA1590@paquier.xyz> <20190608002632.ptuvc6tbffjhlsgi@alap3.anarazel.de> <20190608014540.GC7228@paquier.xyz> <20190608040639.Horde.mXgiHVLprn9sAsYXLi6I9up@webmail.iciel.com> <20190609213126.uutlkqlrsud3bdfs@alap3.anarazel.de> <1336197128.294743.1560190961901@email.ionos.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox