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.
Examples
-
-Here's a small example of how to use the routines:
+
+ pgtcl 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
}
-
-
+
+
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 @@
@@ -254,7 +254,7 @@ Oid lo_unlink(PGconn *conn, Oid lob
-Built in registered functions
+Server-side Built-in Functions
There are two built-in registered functions, lo_import
@@ -295,10 +295,11 @@ SELECT lo_export(image.raster, '/tmp/motd') from image
-
-Sample Program
+
+Example Program
-
+
+ Large Objects with Libpq 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);
}
-
+