From: Tom Lane <tgl@sss.pgh.pa.us>
To: David M. Richter <d.richter@dkfz-heidelberg.de>
Cc: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: View consistency
Date: Fri, 02 Nov 2001 10:23:37 -0500
Message-ID: <7515.1004714617@sss.pgh.pa.us> (raw)
In-Reply-To: <3BE25D2F.9BF837EB@dkfz.de>
References: <20011101081416.X22509-100000@megazone23.bigpanda.com>
<3BE25D2F.9BF837EB@dkfz.de>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, d.richter@dkfz-heidelberg.de, sszabo@megazone23.bigpanda.com
Subject: Re: View consistency
In-Reply-To: <7515.1004714617@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox