Re: reindexdb hangs - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: reindexdb hangs
Date
Msg-id 1178121172.2953.18.camel@state.g2switchworks.com
Whole thread Raw
In response to Re: reindexdb hangs  ("dx k9" <bitsandbytes88@hotmail.com>)
List pgsql-admin
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.

pgsql-admin by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: VACUUM FULL ANALYSE hanging
Next
From: "Spiegelberg, Greg"
Date:
Subject: Re: STDERR vs. SYSLOG logging