Re: reindexdb hangs

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: dx k9 <bitsandbytes88(at)hotmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: reindexdb hangs
Date: 2007-05-02 15:52:52
Message-ID: 1178121172.2953.18.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Rob Cherry 2007-05-02 20:22:51 Multiple auth types for a connection
Previous Message Alvaro Herrera 2007-05-02 15:50:20 Re: VACUUM FULL ANALYSE hanging

Browse pgsql-hackers by date

  From Date Subject
Next Message Henry B. Hotz 2007-05-02 15:53:08 Re: Fwd: [PATCHES] Preliminary GSSAPI Patches
Previous Message dx k9 2007-05-02 15:49:14 Re: reindexdb hangs