From c4591de89d56d5146c77dc6eab44d26d0bb51eae Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Fri, 20 May 2005 01:37:08 +0000 Subject: [PATCH] Make the CREATE RULE syntax description in rules.sgml more consistent with the syntax description in the CREATE RULE reference page. From Kris Jurka. --- doc/src/sgml/rules.sgml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/rules.sgml b/doc/src/sgml/rules.sgml index de2894998c..3cce98f0e6 100644 --- a/doc/src/sgml/rules.sgml +++ b/doc/src/sgml/rules.sgml @@ -902,9 +902,9 @@ SELECT t1.a, t2.b, t1.ctid FROM t1, t2 WHERE t1.a = t2.a; Keep the syntax -CREATE RULE rule_name AS ON event - TO object [WHERE rule_qualification] - DO [ALSO|INSTEAD] [action | (actions) | NOTHING]; +CREATE [ OR REPLACE ] RULE name AS ON event + TO table [ WHERE condition ] + DO [ ALSO | INSTEAD ] { NOTHING | command | ( command ; command ... ) } in mind. -- 2.39.5