Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 77284475B40 for ; Fri, 23 Aug 2002 09:28:07 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id BD2C04759DF for ; Fri, 23 Aug 2002 09:28:06 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g7NDS8ZM019426; Fri, 23 Aug 2002 09:28:08 -0400 (EDT) To: "Guillaume MARTIN" Cc: pgsql-admin@postgresql.org Subject: Re: Vacuum failed ! In-reply-to: <001f01c24a88$702b78a0$d36944c3@net> References: <002101c249c5$cc166580$d36944c3@net> <18191.1030025414@sss.pgh.pa.us> <001f01c24a88$702b78a0$d36944c3@net> Comments: In-reply-to "Guillaume MARTIN" message dated "Fri, 23 Aug 2002 11:35:36 +0200" Date: Fri, 23 Aug 2002 09:28:07 -0400 Message-ID: <19425.1030109287@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/275 X-Sequence-Number: 5389 "Guillaume MARTIN" writes: > i tried the truncate and delete ... I had the following : > allopass_db=# DELETE FROM pg_statistic ; > FATAL 2: open of /var/pgsql/data/pg_clog/0022 failed: No such file or > directory I was afraid that wouldn't work, but it was worth a try. > allopass_db=# TRUNCATE pg_statistic ; > ERROR: TRUNCATE cannot be used on system tables. 'pg_statistic' is a system > table You need to do the TRUNCATE in a standalone backend with -O -P switches. This is basically the same procedure as for REINDEXing a system table; see the REINDEX man page for details. regards, tom lane