Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Recovery with pg_xlog

Поиск
Список
Период
Сортировка
От Jason C. Leach
Тема Recovery with pg_xlog
Дата
Msg-id 602f2f2b0603310850k5bf032ffs76f44e53c5954eb7@mail.gmail.com
обсуждение исходный текст
Список 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 по дате отправления: