diff man/lispref/postgresql.texi @ 464:5aa1854ad537 r21-2-47

Import from CVS: tag r21-2-47
author cvs
date Mon, 13 Aug 2007 11:45:51 +0200
parents 576fb035e263
children f43f9ca6c7d9
line wrap: on
line diff
--- a/man/lispref/postgresql.texi	Mon Aug 13 11:44:39 2007 +0200
+++ b/man/lispref/postgresql.texi	Mon Aug 13 11:45:51 2007 +0200
@@ -521,8 +521,8 @@
 @var{result} is a PGresult object.
 @example
 @comment This example was written on day 3 of the 2000 Haru Basho.
-(pq-exec P "INSERT INTO xemacs_test
-            VALUES (6, 'Wakanohana', 'Yokozuna');")
+(setq R (pq-exec P "INSERT INTO xemacs_test
+                   VALUES (6, 'Wakanohana', 'Yokozuna');"))
      @result{} #<PGresult PGRES_COMMAND_OK[1] - INSERT 542086 1>
 (pq-cmd-status R)
      @result{} "INSERT 542086 1"