From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] create rule changes table to view ? |
Date: | 1999-09-27 00:08:56 |
Message-ID: | 199909270008.UAA26148@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> I have noticed and lived with this problem for quite a while.
>
> There's nothing in pg_class that tells a table from a view, they're both
> "relations". Since a view is implemented as in effect an empty table with
> on select rules on it, psql thinks every table with a rule on it is a
> view. This is just the output, nothing on the table changes.
>
> A fix would be to display both tables and views as "relation". As far as I
> know there is now 100% deterministic way to tell a table from a view. I
> think one fine day Jan is going to change that but for now we don't have
> to worry about it.
OK. Nothing added to TODO list.
--
Bruce Momjian | http://www.op.net/~candle
maillist(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
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 1999-09-27 00:13:38 | RE: [HACKERS] Frustration |
Previous Message | Bruce Momjian | 1999-09-27 00:05:31 | Re: [HACKERS] int8 and index |