Re: Which file belongs to which database?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Which file belongs to which database?
Дата
Msg-id 7999.1059140167@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Which file belongs to which database?  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-general
Thomas Kellerer <spam_eater@gmx.net> writes:
> Shridhar Daithankar schrieb:
>> You can just find the oid of the object from catalog and search for that
>> file. That's the principle.

> That easy ? :-)

Actually you must look at pg_class.relfilenode; this is initially the
same as oid, but there are operations (such as cluster and reindex) that
assign new relfilenode values because they replace the underlying file.

At the database level, pg_database.oid is correct.

            regards, tom lane

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

Предыдущее
От: "Reuben D. Budiardja"
Дата:
Сообщение: Re: How to encrypt data in Postgresql
Следующее
От: "Reuben D. Budiardja"
Дата:
Сообщение: Re: Can I turn the case sensitive off