Search Postgresql Archives

Re: Transaction error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Casey T. Deccio" <casey@xxxxxxxxxx> writes:
> I recently shut down my machine (as far as I know, it went down 
> cleanly).  When I brought it back up, one of my databases was messed 
> up.  Here is the error I get when I try to select:

> ERROR:  could not access status of transaction 4114057
> DETAIL:  could not open file "/var/lib/postgres/data/pg_clog/0003": No 
> such file or directory

> I tried restoring a backup of the data directory that did contain the 
> 0003 file, but that didn't work either.

Define "didn't work" ... what happened, exactly, when you tried it?

People have occasionally dealt with this sort of scenario by creating
dummy clog segment files by hand, and I'd think that restoring the
segment file from a backup would do as well or better.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux