Re: metadata and views

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rip <rip(at)onlineinfo(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: metadata and views
Date: 2002-02-22 03:06:31
Message-ID: 13375.1014347191@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Rip <rip(at)onlineinfo(dot)net> writes:
> I get correct results on a table for a.attnum, a.attname, t.typname,
> a.attlen, a.atttypmod, a.attnotnull and a.atthasdef, but for a view
> a.attnotnull and a.atthasdef return nothing.

What were you expecting? A view doesn't have constraints, nor default
values for columns.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2002-02-22 03:12:47 O'Reilly Conference in July needs speakers
Previous Message Tom Lane 2002-02-22 02:46:25 Re: Createdb problems