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.