Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 653EC2E0039 for ; Sat, 21 Jun 2008 10:48:00 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 68408-07 for ; Sat, 21 Jun 2008 10:47:51 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp-out.freesurf.fr (fructidor.freesurf.fr [212.43.206.30]) by developer.postgresql.org (Postfix) with ESMTP id 296202E0031 for ; Sat, 21 Jun 2008 10:47:56 -0300 (ADT) Received: by smtp-out.freesurf.fr (Postfix, from userid 1000) id 6BAB14C030; Sat, 21 Jun 2008 16:14:07 +0200 (CEST) Received: from freesurf.fr (georges.freesurf.fr [212.43.206.67]) by smtp-out.freesurf.fr (Postfix) with ESMTP id 4695F4C02C for ; Sat, 21 Jun 2008 16:14:07 +0200 (CEST) Received: from 210.146.69-86.rev.gaoland.net (210.146.69-86.rev.gaoland.net [86.69.146.210]) by webmail-html.freesurf.fr (Horde Framework) with HTTP; Sat, 21 Jun 2008 15:47:52 +0200 Message-ID: <20080621154752.33867bg7xhmsv04c@webmail-html.freesurf.fr> Date: Sat, 21 Jun 2008 15:47:52 +0200 From: hjeancha@freesurf.fr To: pgsql-admin@postgresql.org Subject: vacuumdb not enough stack items MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.2-RC2) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.909 tagged_above=0 required=5 tests=AWL=-0.909, MIME_QP_LONG_LINE=1.819 X-Spam-Level: X-Archive-Number: 200806/189 X-Sequence-Number: 29527 Hi, i use postgresql version7.4.7 on i386-pc-linux-gnu, autovacuum is =20 configured to run on this database. But recently, we lost data for a database, we were able to connect the =20 database but we couldn't see any table anymore. I suspected a transaction ID wraparound, and to fix it, i just =20 imported data from a dump file. I tried to execute the following query: SELECT datname, age(datfrozenxid) FROM pg_database where age(datfrozenxid)<0= ; template1=3D# SELECT datname, age(datfrozenxid) FROM pg_database where =20 age(datfrozenxid)<0; datname | age ------------------------------------------+------------- template0 | -597653514 ez_info1 | -205024652 XtDB | -205024658 Does the negative value of age means that a transaction ID wraparound =20 has already occured? Doing a manual vacuumdb on each database raise an error message saying: vacuumdb: vacuuming of database "ez_info1" failed: ERREUR: not enough =20 stack items Have you an idea about what is happening, Thank you for any suggestion.