comparison 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
comparison
equal deleted inserted replaced
463:a158004111cd 464:5aa1854ad537
519 @defun pq-cmd-status result 519 @defun pq-cmd-status result
520 Return a summary string from the query. 520 Return a summary string from the query.
521 @var{result} is a PGresult object. 521 @var{result} is a PGresult object.
522 @example 522 @example
523 @comment This example was written on day 3 of the 2000 Haru Basho. 523 @comment This example was written on day 3 of the 2000 Haru Basho.
524 (pq-exec P "INSERT INTO xemacs_test 524 (setq R (pq-exec P "INSERT INTO xemacs_test
525 VALUES (6, 'Wakanohana', 'Yokozuna');") 525 VALUES (6, 'Wakanohana', 'Yokozuna');"))
526 @result{} #<PGresult PGRES_COMMAND_OK[1] - INSERT 542086 1> 526 @result{} #<PGresult PGRES_COMMAND_OK[1] - INSERT 542086 1>
527 (pq-cmd-status R) 527 (pq-cmd-status R)
528 @result{} "INSERT 542086 1" 528 @result{} "INSERT 542086 1"
529 (setq R (pq-exec P "UPDATE xemacs_test SET rank='retired' 529 (setq R (pq-exec P "UPDATE xemacs_test SET rank='retired'
530 WHERE shikona='Wakanohana';")) 530 WHERE shikona='Wakanohana';"))