Re: psql's \d functions broken for views in current sources

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: psql's \d functions broken for views in current sources
Date: 2000-10-17 03:41:50
Message-ID: 200010170341.XAA05776@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Was this addressed?

> Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> writes:
> > Tom Lane wrote:
> >> I assume this breakage is from the recent RELKIND_VIEW change;
> >> probably psql didn't get updated to know about the new relkind.
>
> > Probably psql uses pg_views though I don't remember correctly.
> > It seemd that pg_views(initdb) should be changed first.
>
> No, pg_views still works --- although it could be made far more
> efficient (don't need the WHERE EXISTS(...) test anymore, just look
> at relkind). So I don't think that explains why psql is misbehaving.
>
> You are right that we ought to change the definition of pg_views,
> anyway.
>
> regards, tom lane
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-10-17 04:00:24 Re: The lightbulb just went on...
Previous Message Bruce Momjian - CVS 2000-10-17 03:29:31 pgsql/doc (FAQ_MSWIN INSTALL_MSWIN)