Date: 05/17/00
- Next message: Egon Schmid: "[PHPDOC] cvs: phpdoc /de/ Translators /de/functions/ ibase.xml"
- Previous message: Jouni Ahto: "[PHPDOC] cvs: phpdoc /en/functions/ ibase.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
jah Wed May 17 20:23:53 2000 EDT
Modified files:
/phpdoc/en/functions pgsql.xml
Log:
Fixed a small mistake.
Index: phpdoc/en/functions/pgsql.xml
diff -u phpdoc/en/functions/pgsql.xml:1.4 phpdoc/en/functions/pgsql.xml:1.5
--- phpdoc/en/functions/pgsql.xml:1.4 Mon Feb 7 22:50:30 2000
+++ phpdoc/en/functions/pgsql.xml Wed May 17 20:23:52 2000
@@ -71,24 +71,23 @@
To use the large object (lo) interface, it is necessary to enclose
it within a transaction block. A transaction block starts with a
<command>begin</command> and if the transaction was valid ends
- with <command>commit</command> and <command>end</command>. If the
+ with <command>commit</command> or <command>end</command>. If the
transaction fails the transaction should be closed with
- <command>abort</command> and <command>rollback</command>.
+ <command>rollback</command> or <command>abort</command>.
<example>
<title>Using Large Objects</title>
<programlisting role="php">
<?php
-$database = pg_Connect ("", "", "", "", "jacarta");
-pg_exec ($database, "begin");
+ $database = pg_Connect ("", "", "", "", "jacarta");
+ pg_exec ($database, "begin");
$oid = pg_locreate ($database);
echo ("$oid\n");
$handle = pg_loopen ($database, $oid, "w");
echo ("$handle\n");
pg_lowrite ($handle, "gaga");
pg_loclose ($handle);
-pg_exec ($database, "commit")
-pg_exec ($database, "end")
+ pg_exec ($database, "commit");
?>
</programlisting>
</example>
- Next message: Egon Schmid: "[PHPDOC] cvs: phpdoc /de/ Translators /de/functions/ ibase.xml"
- Previous message: Jouni Ahto: "[PHPDOC] cvs: phpdoc /en/functions/ ibase.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

