pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: dx k9 <bitsandbytes88@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: reindexdb hangs
Date: Wed, 02 May 2007 10:52:52 -0500
Message-ID: <1178121172.2953.18.camel@state.g2switchworks.com> (raw)
In-Reply-To: <BAY116-F2261C1BEF758D30196729DD1420@phx.gbl>
References: <BAY116-F2261C1BEF758D30196729DD1420@phx.gbl>

On Wed, 2007-05-02 at 10:49, dx k9 wrote:
> Thanks for the response Scott.
> 
> It turns out it was a temporary database and temporary table, that just 
> wasn't there maybe it thought it was there from some type of snapshot then 
> the next minute it was gone.
> 
> Too bad we can't come up with a -e parameter for exclude say,
> Something like this would be nice
> reindexdb -a -e -p 4444 -e tempdb template1
> 
> The way it is now, I just have a 76 line script with each -d database .  I 
> also have to keep it up to date on my own, when they add a new or remove 
> some database in the cluster.

Had a similar problem at my last job.  I wrote a bash script that used
psql to get a list of databases and update the file that listed all the
dbs to go through.  We also used that list to do backups of each db
individually.



view thread (14+ messages)  latest in thread

Message-ID: <1178121172.2953.18.camel@state.g2switchworks.com>
Permalink:  ../1178121172.2953.18.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1178121172.2953.18.camel@state.g2switchworks.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: smarlowe@g2switchworks.com, bitsandbytes88@hotmail.com
  Subject: Re: reindexdb hangs
  In-Reply-To: <1178121172.2953.18.camel@state.g2switchworks.com>

* 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