Re: psql \dv+ shows view size as 0 bytes

From: Thom Brown <thom(at)linux(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql \dv+ shows view size as 0 bytes
Date: 2013-06-04 16:08:45
Message-ID: CAA-aLv6EVt0PttyKmrh1jY3a_DVzeCMTmLVmKgcR5fcy-xCC5w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 4 June 2013 16:54, Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2013-06-04 16:42:05 Re: [PATCH] Add support for TAS/S_UNLOCK for aarch64
Previous Message Peter Geoghegan 2013-06-04 16:00:10 Re: local_preload_libraries logspam