Commit d07d5d8d authored by Bruce Momjian's avatar Bruce Momjian

Cleanup

parent 2aeb2c64
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_rule.sgml,v 1.16 2000/05/20 11:38:25 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/create_rule.sgml,v 1.17 2000/07/21 04:22:54 momjian Exp $
Postgres documentation Postgres documentation
--> -->
...@@ -302,7 +302,7 @@ CREATE RULE example_3 AS ...@@ -302,7 +302,7 @@ CREATE RULE example_3 AS
</programlisting> </programlisting>
</para> </para>
<para> <para>
Create a view of the employees working in the toy department. Create a view of the employees working in the toy department:
<programlisting> <programlisting>
CREATE toyemp(name = char16, salary = int4); CREATE toyemp(name = char16, salary = int4);
...@@ -315,7 +315,7 @@ CREATE RULE example_4 AS ...@@ -315,7 +315,7 @@ CREATE RULE example_4 AS
</programlisting> </programlisting>
</para> </para>
<para> <para>
All new employees must make 5,000 or less All new employees must make 5,000 or less:
<programlisting> <programlisting>
CREATE RULE example_5 AS CREATE RULE example_5 AS
ON INERT TO emp WHERE new.salary > 5000 ON INERT TO emp WHERE new.salary > 5000
......
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_sequence.sgml,v 1.12 2000/05/08 16:19:56 thomas Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/create_sequence.sgml,v 1.13 2000/07/21 04:25:05 momjian Exp $
Postgres documentation Postgres documentation
--> -->
...@@ -311,7 +311,7 @@ SELECT last_value FROM <replaceable>seqname</replaceable>; ...@@ -311,7 +311,7 @@ SELECT last_value FROM <replaceable>seqname</replaceable>;
CREATE SEQUENCE serial START 101; CREATE SEQUENCE serial START 101;
</programlisting> </programlisting>
<para> <para>
Select the next number from this sequence Select the next number from this sequence:
<programlisting> <programlisting>
SELECT NEXTVAL ('serial'); SELECT NEXTVAL ('serial');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment