Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf514bb3

Browse files
committed
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 fileuse a para and synopsis. Is there a reason we're not using <example/> ?Rod Taylor
1 parent6c01708 commitf514bb3

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

‎doc/src/sgml/filelist.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/filelist.sgml,v 1.19 2002/06/15 02:59:55 thomas Exp $ -->
1+
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/filelist.sgml,v 1.20 2002/07/30 19:36:10 momjian Exp $ -->
22

33
<!entity history SYSTEM "history.sgml">
44
<!entity info SYSTEM "info.sgml">
@@ -83,7 +83,7 @@
8383
<!entity xtypes SYSTEM "xtypes.sgml">
8484
<!entity plperl SYSTEM "plperl.sgml">
8585
<!entity plpython SYSTEM "plpython.sgml">
86-
<!entity plsql SYSTEM "plsql.sgml">
86+
<!entity plsql SYSTEM "plpgsql.sgml">
8787
<!entity pltcl SYSTEM "pltcl.sgml">
8888

8989
<!-- developer's guide -->

‎doc/src/sgml/plsql.sgmlrenamed to‎doc/src/sgml/plpgsql.sgml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/plsql.sgml,v2.60 2002/06/24 23:12:06 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/plpgsql.sgml,v1.1 2002/07/30 19:36:10 momjian Exp $
33
-->
44

55
<chapter id="plpgsql">
@@ -978,13 +978,15 @@ EXECUTE <replaceable class="command">query-string</replaceable>;
978978

979979
<para>
980980
An example:
981-
<synopsis>
981+
<informalexample>
982+
<programlisting>
982983
EXECUTE ''UPDATE tbl SET ''
983984
|| quote_ident(fieldname)
984985
|| '' = ''
985986
|| quote_literal(newvalue)
986987
|| '' WHERE ...'';
987-
</synopsis>
988+
</programlisting>
989+
</informalexample>
988990
</para>
989991

990992
<para>
@@ -1059,6 +1061,13 @@ GET DIAGNOSTICS <replaceable>variable</replaceable> = <replaceable>item</replace
10591061
<acronym>SQL</acronym> query. Note that <varname>RESULT_OID</>
10601062
is only useful after an INSERT query.
10611063
</para>
1064+
<para>
1065+
<informalexample>
1066+
<programlisting>
1067+
GET DIAGNOSTICS var_integer = ROW_COUNT;
1068+
</programlisting>
1069+
</informalexample>
1070+
</para>
10621071
</sect2>
10631072
</sect1>
10641073

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp