Markup examples as examples.
authorPeter Eisentraut
Sat, 15 Sep 2001 16:08:59 +0000 (16:08 +0000)
committerPeter Eisentraut
Sat, 15 Sep 2001 16:08:59 +0000 (16:08 +0000)
doc/src/sgml/libpgtcl.sgml
doc/src/sgml/lobj.sgml

index f40e9c491af82800f88131a74708ede7fea23ce0..a9ee83a9f9706dfaa51f9bab6cf88f0508804985 100644 (file)
@@ -128,10 +128,13 @@ in a BEGIN/END transaction block.
 
 Examples
 
->
-Here's a small example of how to use the routines:
+  >
+   <application>pgtcl</application> Example Program
 
-
+   
+    Here's a small example of how to use the routines:
+
+
 # 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
 }
 
-
->
+   
+  >
 
 
 
index 475fe2d5f21420c47b21aa6f88539b9494a95faf..6ba725d36032fcfb4c814aa3d6754621e2806547 100644 (file)
@@ -1,5 +1,5 @@
 
 
  
@@ -254,7 +254,7 @@ Oid lo_unlink(PGconn *conn, Oid lob
 
 
 
-<span class="marked">Built in registered f</span>unctions
+<span class="marked">Server-side Built-in F</span>unctions
 
 
      There  are two built-in registered functions, lo_import
@@ -295,10 +295,11 @@ SELECT lo_export(image.raster, '/tmp/motd') from image
 
 
 
-sample">
-<span class="marked">S</span>ample Program
+example">
+<span class="marked">Ex</span>ample Program
 
-
+  
+   Large Objects with <application>Libpq</application> Example Program
 
 /*--------------------------------------------------------------
  *
@@ -320,8 +321,8 @@ SELECT lo_export(image.raster, '/tmp/motd') from image
 #define BUFSIZE          1024
 
 /*
- * importFile *    import file "in_filename" into database as large object "lob
-jOid"
+ * importFile
+ *    import file "in_filename" into database as large object "lobjOid"
  *
  */
 Oid
@@ -552,7 +553,7 @@ main(int argc, char **argv)
     exit(0);
 }
 
-para>
+example>