Re: Which file belongs to which database?

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: Which file belongs to which database?
Дата
Msg-id 3F2125A6.5795.DF71AAF@localhost
обсуждение исходный текст
Ответ на Which file belongs to which database?  (Thomas Kellerer <spam_eater@gmx.net>)
Ответы Re: Which file belongs to which database?  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-general
On 25 Jul 2003 at 8:45, Thomas Kellerer wrote:
> just out of curiosity: how can I find out which files in the PG_DATA directory
> belong to which database/table?

There is a contrib module oid2name. Use that.

You can just find the oid of the object from catalog and search for that file.
That's the principle.

Bye
 Shridhar

--
But Captain -- the engines can't take this much longer!


В списке pgsql-general по дате отправления:

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Which file belongs to which database?
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: Which file belongs to which database?