From ebe124eacd7c3faa36ed358e7cc1d7c5b419e5f6 Mon Sep 17 00:00:00 2001
From: Daniel Baumann
+
Views in PostgreSQL are implemented
using the rule system. In fact, there is essentially no difference
between:
@@ -503,4 +503,4 @@ SELECT t1.a, t2.b, t1.ctid FROM t1, t2 WHERE t1.a = t2.a;
triggers for the view, and the rewriter cannot automatically rewrite
the query as an update on the underlying base relation, an error will
be thrown because the executor cannot update a view as such.
-41.2. Views and the Rule System
41.2. Views and the Rule System