Recovery with pg_xlog - Mailing list pgsql-general

From Jason C. Leach
Subject Recovery with pg_xlog
Date
Msg-id 602f2f2b0603310850k5bf032ffs76f44e53c5954eb7@mail.gmail.com
Whole thread Raw
List pgsql-general
You can usually get the directory name by doing

SELECT dataname, oid FROM pg_databases;

To get the file name do:

SELECT relname, relfilenode FROM pg_class WHERE relname = 'tblName';

The relfilenode will tell you what numbed file belongs to the talbe.  It's not always OID, but it often is (don't just assume it will be the OID).

J.



--
........................................
.... Jason C. Leach
.... PGP Key: 0x62DDDF75
.... Keyserver: gpg.mit.edu

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: [Slightly OT] data model books/resources?
Next
From: "Alex bahdushka"
Date:
Subject: Re: PANIC: heap_update_redo: no block