Re: psql \dv+ shows view size as 0 bytes - Mailing list pgsql-hackers

From Thom Brown
Subject Re: psql \dv+ shows view size as 0 bytes
Date
Msg-id CAA-aLv6EVt0PttyKmrh1jY3a_DVzeCMTmLVmKgcR5fcy-xCC5w@mail.gmail.com
Whole thread Raw
In response to psql \dv+ shows view size as 0 bytes  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: psql \dv+ shows view size as 0 bytes  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On 4 June 2013 16:54, Peter Eisentraut <peter_e@gmx.net> wrote:
> \dv+ shows the size of views as "0 bytes".  This doesn't make any sense;
> I think it should show null.  Maybe this is even the fault of the
> backend functions for returning a number to display in the first place.

It doesn't sound useful whether it's 0 or NULL in that output.  Why
have the column in the first place when it can't have a value?  Is it
somehow required for inclusion in the output of \d+ ?

--
Thom



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: local_preload_libraries logspam
Next
From: Robert Haas
Date:
Subject: Re: [PATCH] Add support for TAS/S_UNLOCK for aarch64