Re: wiki Disk Usage, table size: ERROR: could not open relation withOID 0

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: wiki Disk Usage, table size: ERROR: could not open relation withOID 0
Дата
Msg-id 20180314233238.GB617@paquier.xyz
обсуждение исходный текст
Ответ на wiki Disk Usage, table size: ERROR: could not open relation with OID 0  (Hans Schou <hans.schou@gmail.com>)
Ответы Re: wiki Disk Usage, table size: ERROR: could not open relation with OID 0
Re: wiki Disk Usage, table size: ERROR: could not open relation withOID 0
Список pgsql-general
On Wed, Mar 14, 2018 at 04:17:54PM +0100, Hans Schou wrote:
> I got the message
>   ERROR: could not open relation with OID 0
> when running the "General Table Size Information" from
> https://wiki.postgresql.org/wiki/Disk_Usage

I cannot see this failure on latest HEAD on a database running the
regression database.  This is an elog() message by the way, which is
something to report internal errors, so users should never be able to
face it.

> But I guess it was supposed to give size of all tables.
>
> I'm running version 9.1.9 so it should be working according to the
> wiki.

You should update and upgrade.  9.1 has fallen out of community support
1 year and a half ago, and 9.1.9 is utterly outdated.
--
Michael

Вложения

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

Предыдущее
От: Alexander Farber
Дата:
Сообщение: Re: Extract elements from JSON array and return them as concatenated string
Следующее
От: Tom Lane
Дата:
Сообщение: Re: wiki Disk Usage, table size: ERROR: could not open relation with OID 0