cvs: php4 /ext/pgsql README
| From: | Yasuo Ohgaki | Date: | Mon, 08 Apr 2002 01:50:06 +0000 |
| Subject: | cvs: php4 /ext/pgsql README | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10958@lists.php.net to get a copy of this message | ||
yohgaki Sun Apr 7 21:50:06 2002 EDT
Modified files:
/php4/ext/pgsql README
Log:
Update README
Index: php4/ext/pgsql/README
diff -u php4/ext/pgsql/README:1.7 php4/ext/pgsql/README:1.8
--- php4/ext/pgsql/README:1.7 Fri Mar 1 06:52:04 2002
+++ php4/ext/pgsql/README Sun Apr 7 21:50:06 2002
@@ -42,13 +42,15 @@
module with specific version. You need to install PostgreSQL
somewhere in your system to build PHP with PostgreSQL support.
-==== Note For PostgreSQL 7.2 beta ====
-Current CVS version (probably 4.0.6 or later) compiles without
-modefication.
+==== Note For PostgreSQL 7.2 ====
+I've tested upto 7.2.1.
==== TODO List ===
-pg_convert_array() - convert array elements for SQL statement.
-Support async connection create.
+Make pg_convert() smater.
+ - Better regex
+ - User defiend type support
+Support async connection.
+Support async notification.
==== Experimental Functions =====
@@ -173,17 +175,46 @@
--------------------------------------------------------------------
-Notice messge function
+Notice message function
--------------------------------------------------------------------
string pg_last_notice(resource connection)
Returns the last notice set by the backend
-Currently pg_last_notice() does not return notice message associated
-with the connection.
+
+This function is fully implemed in only in current CVS version.
+PHP 4.3.0 supposed to included fully implemented version.
NOTE: Added in PHP 4.0.6, but there is bug in notice message handling
in PHP 4.0.6. Do no use 4.0.6 with pgsql module!!
+
+--------------------------------------------------------------------
+
+Utility functions (for PHP 4.3.0)
+
+--------------------------------------------------------------------
+array pg_metadata(resource db, string table)
+ Get metadata
+
+--------------------------------------------------------------------
+array pg_convert(resource db, string table, array values)
+ Check and convert values for PostgreSQL SQL statement
+
+--------------------------------------------------------------------
+bool pg_insert(resource db, string table, array values[, bool convert[, bool async]])
+ Insert values (filed=>value) to table
+
+--------------------------------------------------------------------
+bool pg_update(resource db, string table, array fields, array ids[, bool convert[, bool async]])
+ Update table using values (field=>value) and ids (id=>value)
+
+--------------------------------------------------------------------
+bool pg_delete(resource db, string table, array ids[, bool convert[, bool async]])
+ Delete records has ids (id=>value)
+
+--------------------------------------------------------------------
+array pg_select(resource db, string table, array ids[, bool convert])
+ Select records that has ids (id=>value)
--------------------------------------------------------------------