Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0d62ecd

Browse files
committed
Update rules man pages.
1 parent c99e851 commit 0d62ecd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/src/sgml/ref/create_rule.sgml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_rule.sgml,v 1.15 2000/04/12 20:07:13 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_rule.sgml,v 1.16 2000/05/20 11:38:25 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -320,7 +320,8 @@ CREATE RULE example_4 AS
320320
CREATE RULE example_5 AS
321321
ON INERT TO emp WHERE new.salary > 5000
322322
DO
323-
UPDATE NEWSET SET salary = 5000;
323+
UPDATE emp SET salary = 5000
324+
WHERE emp.oid = new.oid;
324325
</programlisting>
325326
</para>
326327
</refsect1>

0 commit comments

Comments
 (0)