Here's a combination of all the patches I'm currently waiting
Bruce Momjian <bruce@momjian.us>
Here's a combination of all the patches I'm currently waiting
for against a just updated CVS tree. It contains
Partial new rewrite system that handles subselects, view
aggregate columns, insert into select from view, updates
with set col = view-value and select rules restriction to
view definition.
Updates for rule/view backparsing utility functions to
handle subselects correct.
New system views pg_tables and pg_indexes (where you can
see the complete index definition in the latter one).
Enabling array references on query parameters.
Bugfix for functional index.
Little changes to system views pg_rules and pg_views.
The rule system isn't a release-stopper any longer.
But another stopper is that I don't know if the latest
changes to PL/pgSQL (not already in CVS) made it compile on
AIX. Still wait for some response from Dave.
Jan
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/index/indexam.c | modified | +5 −3 |
| src/backend/rewrite/locks.c | modified | +2 −3 |
| src/backend/rewrite/rewriteDefine.c | modified | +71 −8 |
| src/backend/rewrite/rewriteHandler.c | modified | +2200 −549 |
| src/backend/rewrite/rewriteManip.c | modified | +108 −1 |
| src/backend/utils/adt/ruleutils.c | modified | +440 −92 |
| src/bin/initdb/initdb.sh | modified | +56 −3 |
| src/include/catalog/pg_proc.h | modified | +5 −1 |
| src/include/rewrite/locks.h | modified | +2 −1 |
| src/test/regress/expected/rules.out | modified | +178 −0 |
| src/test/regress/sql/rules.sql | modified | +97 −0 |