Would it be wise to have the plsql.sgml file renamed to plpgsql.sgml?
All of the internal tags are of the latter. The other thing I noticed is that most of the quick examples in the file use a para and synopsis. Is there a reason we're not using <example/> ? Rod Taylor
This commit is contained in:
parent
6c01708c46
commit
f514bb3e25
@ -1,4 +1,4 @@
|
|||||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/filelist.sgml,v 1.19 2002/06/15 02:59:55 thomas Exp $ -->
|
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/filelist.sgml,v 1.20 2002/07/30 19:36:10 momjian Exp $ -->
|
||||||
|
|
||||||
<!entity history SYSTEM "history.sgml">
|
<!entity history SYSTEM "history.sgml">
|
||||||
<!entity info SYSTEM "info.sgml">
|
<!entity info SYSTEM "info.sgml">
|
||||||
@ -83,7 +83,7 @@
|
|||||||
<!entity xtypes SYSTEM "xtypes.sgml">
|
<!entity xtypes SYSTEM "xtypes.sgml">
|
||||||
<!entity plperl SYSTEM "plperl.sgml">
|
<!entity plperl SYSTEM "plperl.sgml">
|
||||||
<!entity plpython SYSTEM "plpython.sgml">
|
<!entity plpython SYSTEM "plpython.sgml">
|
||||||
<!entity plsql SYSTEM "plsql.sgml">
|
<!entity plsql SYSTEM "plpgsql.sgml">
|
||||||
<!entity pltcl SYSTEM "pltcl.sgml">
|
<!entity pltcl SYSTEM "pltcl.sgml">
|
||||||
|
|
||||||
<!-- developer's guide -->
|
<!-- developer's guide -->
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/plsql.sgml,v 2.60 2002/06/24 23:12:06 tgl Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/plpgsql.sgml,v 1.1 2002/07/30 19:36:10 momjian Exp $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<chapter id="plpgsql">
|
<chapter id="plpgsql">
|
||||||
@ -978,13 +978,15 @@ EXECUTE <replaceable class="command">query-string</replaceable>;
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
An example:
|
An example:
|
||||||
<synopsis>
|
<informalexample>
|
||||||
|
<programlisting>
|
||||||
EXECUTE ''UPDATE tbl SET ''
|
EXECUTE ''UPDATE tbl SET ''
|
||||||
|| quote_ident(fieldname)
|
|| quote_ident(fieldname)
|
||||||
|| '' = ''
|
|| '' = ''
|
||||||
|| quote_literal(newvalue)
|
|| quote_literal(newvalue)
|
||||||
|| '' WHERE ...'';
|
|| '' WHERE ...'';
|
||||||
</synopsis>
|
</programlisting>
|
||||||
|
</informalexample>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -1059,6 +1061,13 @@ GET DIAGNOSTICS <replaceable>variable</replaceable> = <replaceable>item</replace
|
|||||||
<acronym>SQL</acronym> query. Note that <varname>RESULT_OID</>
|
<acronym>SQL</acronym> query. Note that <varname>RESULT_OID</>
|
||||||
is only useful after an INSERT query.
|
is only useful after an INSERT query.
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
<informalexample>
|
||||||
|
<programlisting>
|
||||||
|
GET DIAGNOSTICS var_integer = ROW_COUNT;
|
||||||
|
</programlisting>
|
||||||
|
</informalexample>
|
||||||
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user