summaryrefslogtreecommitdiff
path: root/ext/pgsql
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2002-04-08 01:50:06 +0000
committerYasuo Ohgaki <yohgaki@php.net>2002-04-08 01:50:06 +0000
commit8fab36f99c4fe55ef3bb67907c49fb3c9bb45f2d (patch)
treeddaa5bc39b9d22f3dbf67149012fc8cd34e39f04 /ext/pgsql
parent4ac70c6821545e824a78dd9341d8c66240b63583 (diff)
downloadphp-git-8fab36f99c4fe55ef3bb67907c49fb3c9bb45f2d.tar.gz
Update README
Diffstat (limited to 'ext/pgsql')
-rw-r--r--ext/pgsql/README47
1 files changed, 39 insertions, 8 deletions
diff --git a/ext/pgsql/README b/ext/pgsql/README
index 2a93349d3f..2a1b0f4212 100644
--- a/ext/pgsql/README
+++ b/ext/pgsql/README
@@ -42,13 +42,15 @@ You cannot specify PostgreSQL source directly to build PostgreSQL
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,20 +175,49 @@ Seeks position of large object
--------------------------------------------------------------------
-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)
+
+--------------------------------------------------------------------
+
Again, experimental functions are subject to be changed without
notice.