Re: reindexdb hangs - Mailing list pgsql-admin

From Tom Lane
Subject Re: reindexdb hangs
Date
Msg-id 22018.1178144703@sss.pgh.pa.us
Whole thread Raw
In response to Re: reindexdb hangs  ("dx k9" <bitsandbytes88@hotmail.com>)
Responses Re: reindexdb hangs  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-admin
"dx k9" <bitsandbytes88@hotmail.com> writes:
> [ stuck reindex ]
> 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.

Hmm, there is not any filter in ReindexDatabase() to exclude temp tables
of other backends, but it sure seems like there needs to be.  CLUSTER
might have the same issue.  I think we fixed this in VACUUM long ago,
but we need to check the other commands that grovel over all of a database.

            regards, tom lane

pgsql-admin by date:

Previous
From: Geoff Tolley
Date:
Subject: Re: Multiple auth types for a connection
Next
From: Tom Lane
Date:
Subject: Re: pg_user pg_shadow out of sync