Re: wiki Disk Usage, table size: ERROR: could not open relation withOID 0 - Mailing list pgsql-general

From Michael Paquier
Subject Re: wiki Disk Usage, table size: ERROR: could not open relation withOID 0
Date
Msg-id 20180314233238.GB617@paquier.xyz
Whole thread Raw
In response to wiki Disk Usage, table size: ERROR: could not open relation with OID 0  (Hans Schou <hans.schou@gmail.com>)
Responses Re: wiki Disk Usage, table size: ERROR: could not open relation with OID 0  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: wiki Disk Usage, table size: ERROR: could not open relation withOID 0  (Hans Schou <hans.schou@gmail.com>)
List 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

Attachment

pgsql-general by date:

Previous
From: Alexander Farber
Date:
Subject: Re: Extract elements from JSON array and return them as concatenated string
Next
From: Tom Lane
Date:
Subject: Re: wiki Disk Usage, table size: ERROR: could not open relation with OID 0