Re: Unable to determine what has a particular OID

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unable to determine what has a particular OID
Дата
Msg-id 12684.1276873222@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Unable to determine what has a particular OID  (Andy Dale <andy.dale@gmail.com>)
Ответы Re: Unable to determine what has a particular OID  (Andy Dale <andy.dale@gmail.com>)
Список pgsql-general
Andy Dale <andy.dale@gmail.com> writes:
>> Try:
>> SELECT oid,* from pg_database ;
>>
>> I suspect the relfilnode you are looking at is another database in the
>> cluster.

> Maybe I am possibly doing that.

There isn't any "maybe" involved here.  Follow Adrian's advice and
determine for sure exactly which database that subdirectory represents.
The subdirectory name will match the OID in the pg_database row.

It's possible for the same table OID to be in use in more than one
database, so the fact that you got a match to the other table doesn't
in itself prove you're looking at the right database.

            regards, tom lane

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

Предыдущее
От: Vick Khera
Дата:
Сообщение: Re: Excessive Deadlocks On Concurrent Inserts to Shared Parent Row
Следующее
От: Andy Dale
Дата:
Сообщение: Re: Unable to determine what has a particular OID