From 5e45211a64149b3c659b90ff2de6fa982a5a93ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:17:33 +0200 Subject: Adding upstream version 15.5. Signed-off-by: Daniel Baumann --- doc/src/sgml/html/rules.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 doc/src/sgml/html/rules.html (limited to 'doc/src/sgml/html/rules.html') diff --git a/doc/src/sgml/html/rules.html b/doc/src/sgml/html/rules.html new file mode 100644 index 0000000..44bd352 --- /dev/null +++ b/doc/src/sgml/html/rules.html @@ -0,0 +1,21 @@ + +Chapter 41. The Rule System

Chapter 41. The Rule System

+ This chapter discusses the rule system in + PostgreSQL. Production rule systems + are conceptually simple, but there are many subtle points + involved in actually using them. +

+ Some other database systems define active database rules, which + are usually stored procedures and triggers. In + PostgreSQL, these can be implemented + using functions and triggers as well. +

+ The rule system (more precisely speaking, the query rewrite rule + system) is totally different from stored procedures and triggers. + It modifies queries to take rules into consideration, and then + passes the modified query to the query planner for planning and + execution. It is very powerful, and can be used for many things + such as query language procedures, views, and versions. The + theoretical foundations and the power of this rule system are + also discussed in [ston90b] and [ong90]. +

\ No newline at end of file -- cgit v1.2.3