Re: Views as FROM subselects

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Views as FROM subselects
Date: 2000-12-15 23:09:33
Message-ID: 14126.976921773@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Tom, I see from the CVS logs you say:
> Subselects in FROM clause, per ISO syntax: FROM (SELECT ...) [AS] alias.
> (Don't forget that an alias is required.) Views reimplemented as expanding
> to subselect-in-FROM. Grouping, aggregates, DISTINCT in views actually
> work now (he says optimistically). No UNION support in subselects/views
> yet, but I have some ideas about that. Rule-related permissions checking
> moved out of rewriter and into executor.

> Does this mean the rewrite system no longer handles views?

Sure it does. It got a lot simpler though.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-12-15 23:15:07 Re: CURRENT/OLD keywords still broken
Previous Message Tom Lane 2000-12-15 23:08:08 Re: TOAST-table vacuuming (was Re: Idea for reducing pl anning time)