Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
5703a690
Commit
5703a690
authored
Jan 29, 2005
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We haven't had a fixed limit on rule recursion depth since 7.3 ...
but the documentation still said so.
parent
b7d236d6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
doc/src/sgml/rules.sgml
doc/src/sgml/rules.sgml
+6
-7
No files found.
doc/src/sgml/rules.sgml
View file @
5703a690
<!-- $PostgreSQL: pgsql/doc/src/sgml/rules.sgml,v 1.4
0 2005/01/23 00:30:18 momjian
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/rules.sgml,v 1.4
1 2005/01/29 23:45:36 tgl
Exp $ -->
<chapter id="rules">
<chapter id="rules">
<title>The Rule System</title>
<title>The Rule System</title>
...
@@ -1000,12 +1000,11 @@ CREATE RULE <replaceable>rule_name</> AS ON <replaceable>event</>
...
@@ -1000,12 +1000,11 @@ CREATE RULE <replaceable>rule_name</> AS ON <replaceable>event</>
The query trees generated from rule actions are thrown into the
The query trees generated from rule actions are thrown into the
rewrite system again, and maybe more rules get applied resulting
rewrite system again, and maybe more rules get applied resulting
in more or less query trees.
in more or less query trees.
So the query trees in the rule actions must have either a different command type
So a rule's actions must have either a different
or a different result relation, otherwise, this recursive process will end up in a loop.
command type or a different result relation than the rule itself is
There is a fixed recursion limit of currently 100 iterations.
on, otherwise this recursive process will end up in an infinite loop.
If after 100 iterations there are still update rules to apply, the
(Recursive expansion of a rule will be detected and reported as an
rule system assumes a loop over multiple rule definitions and reports
error.)
an error.
</para>
</para>
<para>
<para>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment