Re: View consistency - Mailing list pgsql-sql

From Tom Lane
Subject Re: View consistency
Date
Msg-id 7515.1004714617@sss.pgh.pa.us
Whole thread Raw
In response to View consistency  ("David M. Richter" <d.richter@dkfz.de>)
List pgsql-sql
"David M. Richter" <d.richter@dkfz-heidelberg.de> writes:
> Select name from patient_view;
> is in reality:
> Select name from (select ...,...,... from basic where xxx=yyy);
> Is that right?

Yup.  The rule rewriter just substitutes the view definition as a
subselect.
        regards, tom lane


pgsql-sql by date:

Previous
From: Oleg Lebedev
Date:
Subject: Re: table permissions
Next
From: Bhuvan A
Date:
Subject: Strange Problem As Type Casting