From d694260765594c841c80bcf5470dc581bc6621ab Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Sat, 15 Sep 2001 16:08:59 +0000
Subject: [PATCH] Markup examples as examples.

---
 doc/src/sgml/libpgtcl.sgml | 13 ++++++++-----
 doc/src/sgml/lobj.sgml     | 17 +++++++++--------
 2 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/doc/src/sgml/libpgtcl.sgml b/doc/src/sgml/libpgtcl.sgml
index f40e9c491af..a9ee83a9f97 100644
--- a/doc/src/sgml/libpgtcl.sgml
+++ b/doc/src/sgml/libpgtcl.sgml
@@ -128,10 +128,13 @@ in a BEGIN/END transaction block.
 <Sect1 id="libpgtcl-examples">
 <Title>Examples</Title>
 
-<Para>
-Here's a small example of how to use the routines:
+  <example>
+   <title><application>pgtcl</application> Example Program</title>
 
-<ProgramListing>
+   <para>
+    Here's a small example of how to use the routines:
+
+<programlisting>
 # getDBs :
 #   get the names of all the databases at a given host and port number
 #   with the defaults being the localhost and port 5432
@@ -149,8 +152,8 @@ proc getDBs { {host "localhost"} {port "5432"} } {
     return $datnames
 }
 </ProgramListing>
-
-</Para>
+   </para>
+  </example>
 </Sect1>
 
 <Sect1 id="libpgtcl-ref">
diff --git a/doc/src/sgml/lobj.sgml b/doc/src/sgml/lobj.sgml
index 475fe2d5f21..6ba725d3603 100644
--- a/doc/src/sgml/lobj.sgml
+++ b/doc/src/sgml/lobj.sgml
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/lobj.sgml,v 1.20 2001/09/13 15:55:23 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/lobj.sgml,v 1.21 2001/09/15 16:08:59 petere Exp $
 -->
 
  <chapter id="largeObjects">
@@ -254,7 +254,7 @@ Oid lo_unlink(PGconn *<replaceable class="parameter">conn</replaceable>, Oid lob
 </sect1>
 
 <sect1 id="lo-funcs">
-<title>Built in registered functions</title>
+<title>Server-side Built-in Functions</title>
 
 <para>
      There  are two built-in registered functions, <acronym>lo_import</acronym>
@@ -295,10 +295,11 @@ SELECT lo_export(image.raster, '/tmp/motd') from image
 </para>
 </sect1>
 
-<sect1 id="lo-sample">
-<title>Sample Program</title>
+<sect1 id="lo-example">
+<title>Example Program</title>
 
-<para>
+  <example>
+   <title>Large Objects with <application>Libpq</application> Example Program</title>
 <programlisting>
 /*--------------------------------------------------------------
  *
@@ -320,8 +321,8 @@ SELECT lo_export(image.raster, '/tmp/motd') from image
 #define BUFSIZE          1024
 
 /*
- * importFile *    import file &quot;in_filename&quot; into database as large object &quot;lob
-jOid&quot;
+ * importFile
+ *    import file &quot;in_filename&quot; into database as large object &quot;lobjOid&quot;
  *
  */
 Oid
@@ -552,7 +553,7 @@ main(int argc, char **argv)
     exit(0);
 }
 </programlisting>
-</para>
+</example>
 
 </sect1>
 </chapter>
-- 
GitLab