X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8601E5387E for ; Fri, 22 Apr 2005 13:20:22 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 85411-03 for ; Fri, 22 Apr 2005 16:20:21 +0000 (GMT) Received: from wolff.to (wolff.to [66.93.197.194]) by svr1.postgresql.org (Postfix) with SMTP id A8B595382B for ; Fri, 22 Apr 2005 13:20:20 -0300 (ADT) Received: (qmail 8190 invoked by uid 500); 22 Apr 2005 16:39:56 -0000 Date: Fri, 22 Apr 2005 11:39:56 -0500 From: Bruno Wolff III To: FBaron@co.belcorp.biz Cc: pgsql-admin@postgresql.org Subject: Re: Reindex from command line linux Message-ID: <20050422163956.GC4347@wolff.to> Mail-Followup-To: Bruno Wolff III , FBaron@co.belcorp.biz, pgsql-admin@postgresql.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.272 tagged_above=0 required=5 tests=AWL, BIZ_TLD X-Spam-Level: X-Archive-Number: 200504/312 X-Sequence-Number: 17325 On Fri, Apr 22, 2005 at 11:04:03 -0500, FBaron@co.belcorp.biz wrote: > > > > > hi, which is the sentence to run a Database REINDEX from linux or from > script or shell,etc. I think you can use: psql -c 'REINDEX DATABASE database_name'