X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 88C4A476036 for ; Fri, 11 Apr 2003 10:40:05 -0400 (EDT) Received: from localhost.localdomain (unknown [65.217.53.66]) by postgresql.org (Postfix) with ESMTP id D18D8474E42 for ; Fri, 11 Apr 2003 10:40:01 -0400 (EDT) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by localhost.localdomain (8.12.8/8.12.5) with ESMTP id h3BFIpkj028208; Fri, 11 Apr 2003 11:18:51 -0400 Received: from gnvex001.mmrd.com (gnvex001.mmrd.com [192.168.3.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id h3BEdux06750; Fri, 11 Apr 2003 10:39:57 -0400 Received: from camel.mmrd.com ([172.25.5.213]) by gnvex001.mmrd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 2RXFBHQ7; Fri, 11 Apr 2003 10:39:54 -0400 Subject: Re: pg_class.reltuples not reset by VACUUM? From: Robert Treat To: Jeff Boes Cc: pgsql-admin@postgresql.org In-Reply-To: <1050007363.13305.44.camel@takin.private.nexcerpt.com> References: <15397.1049824333@sss.pgh.pa.us> <1049825429.4871.36.camel@takin.private.nexcerpt.com> <19299.1049829035@sss.pgh.pa.us> <1049829572.4868.39.camel@takin.private.nexcerpt.com> <19573.1049829599@sss.pgh.pa.us> <1049833801.4871.41.camel@takin.private.nexcerpt.com> <1050000717.23437.404.camel@camel> <1050007363.13305.44.camel@takin.private.nexcerpt.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 11 Apr 2003 10:39:55 -0400 Message-Id: <1050071996.23437.538.camel@camel> Mime-Version: 1.0 X-Spam-Status: No, hits=-38.0 required=5.0 tests=BAYES_10,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/185 X-Sequence-Number: 8340 On Thu, 2003-04-10 at 16:42, Jeff Boes wrote: > On Thu, 2003-04-10 at 14:51, Robert Treat wrote: > > Out of curiosity, are you doing non-superuser vacuums on 7.2.3 or older > > system? > > > > And I probably didn't answer your question. The username used to > perform all VACUUMs is marked "usesuper = t" in pg_shadow. I interpret > that as a superuser. Am I right? > usesuper does indicate that the user is a super user. The reason I asked was your problem sounded suspiciously like the "No one parent tuple was found" error that was fixed in 7.2.4. I *thought* that those cases we're the result of vacuuming as non-superuser, but you may want to search the archives if it pops up again, there might be other cases that cause it. Oh, I guess I should make the obligatory "you might want to upgrade" suggestion as well :-) Robert Treat