Re: Orphan table files at data/base/ - Mailing list pgsql-general

From Greg Sabino Mullane
Subject Re: Orphan table files at data/base/
Date
Msg-id CAKAnmm+X7O5zjx=zTSc1b85ckH1YxB2uHWg9HUMEribHAZq_MA@mail.gmail.com
Whole thread Raw
In response to Orphan table files at data/base/  (Riivo Kolka <riivo.kolka@gmail.com>)
List pgsql-general
No, I would not remove those files without making 100% sure they do not belong to that database or any other. Are you sure you are inside database 16384 when you ran those commands? Does a 'stat' on those files line up with the time of the crash? If so, I would stop pg, move the files someplace else, do a pg_dump > /dev/null for another sanity check, then remove those files.

Cheers,
Greg

pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Orphan table files at data/base/
Next
From: Andreas Joseph Krogh
Date:
Subject: Re: PostgreSQL Read-only mode usage