pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: FBaron@co.belcorp.biz
Cc: pgsql-admin@postgresql.org
Subject: Re: Reindex from command line linux
Date: Fri, 22 Apr 2005 11:39:56 -0500
Message-ID: <20050422163956.GC4347@wolff.to> (raw)
In-Reply-To: <OF0183EA8D.CDF825A1-ON05256FEB.0057EA4D-05256FEB.005842FD@belcorp.biz>
References: <OF0183EA8D.CDF825A1-ON05256FEB.0057EA4D-05256FEB.005842FD@belcorp.biz>

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'



view thread (7+ messages)  latest in thread

Message-ID: <20050422163956.GC4347@wolff.to>
Permalink:  ../20050422163956.GC4347@wolff.to/
Also on:    postgresql.org/message-id/20050422163956.GC4347@wolff.to

 · 

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-admin@postgresql.org
  Cc: bruno@wolff.to, FBaron@co.belcorp.biz
  Subject: Re: Reindex from command line linux
  In-Reply-To: <20050422163956.GC4347@wolff.to>
  References: <OF0183EA8D.CDF825A1-ON05256FEB.0057EA4D-05256FEB.005842FD@belcorp.biz> <20050422163956.GC4347@wolff.to>

* 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