summaryrefslogtreecommitdiff
path: root/ext/pgsql/php_pgsql.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Tweak some #if's to be more orthogonal.Christopher Kings-Lynne2005-03-221-0/+3
| | | | | | | | | (PHP pg_set_error_verbosity) New function to set PostgreSQL error verbosity (PHP pg_copy_from) Use non-deprecated API if it is available (PHP pg_copy_to) Use non-deprecated API if it is available
* Added several new functions to support the PostgreSQL v3 protocolChristopher Kings-Lynne2005-03-191-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | introduced in PostgreSQL 7.4. (PHP pg_transaction_status) New function to get in-transaction status of a database connection. (PHP pg_query_params) New function to allow execution of parameterized queries. (PHP pg_prepare) New function to allow preparing named queries. (PHP pg_execute) New function to allow execution of named prepared queries. (PHP pg_send_query_params) New function that is the async equivalent of pg_query_params. (PHP pg_send_prepare) New function that is the async equivalent of pg_prepare. (PHP pg_send_execute) New function that is the async equivalent of pg_execute. (PHP pg_result_error_field) New function that allows highly detailed error information, most importantly the SQLSTATE error code # Regression tests are included for all but 2 functions, the rest will # follow shortly. Docs will also follow shortly.
* Added pg_field_type_oid() functionEdin Kadribasic2005-02-141-0/+1
|
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-2/+2
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* Removed a useless define.Ilia Alshanetsky2003-12-291-2/+0
|
* Get rid of PHPAPI usage.Edin Kadribasic2003-12-051-10/+11
| | | | | | Enable shared build in the new php5 build system Check for the correct header.
* Added new function pg_parameter_status()Marcus Boerger2003-07-271-0/+3
|
* Added pg_version() which returns an associative array of client/protocol/serverMarcus Boerger2003-07-221-0/+1
| | | | | | version. @Added pg_version() function. (Marcus)
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* - Fix ini handling in ZTS modeMarcus Boerger2003-05-301-5/+4
|
* Fix 'timestamp without timezone', too.Jay Smith2003-04-011-0/+1
|
* Removed #ifdef NetWare and made the necessary changes in the directory ↵Anantha Kesari H Y2003-01-061-2/+0
| | | | structure of NetWare.
* Makefile added newly and modified the header file for NetWare.Anantha Kesari H Y2003-01-061-0/+2
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* Added pg_get_pid()Yasuo Ohgaki2002-10-171-0/+1
|
* Added async message function - pg_get_notify()Yasuo Ohgaki2002-10-171-0/+2
|
* Introduce connect_type option to pg_connect().Yasuo Ohgaki2002-10-131-0/+2
| | | | | | | pg_connect(conn_str, conn_type) is allowed. @Added PGSQL_CONNECT_FORCE_NEW option to pg_connect() (Yasuo) # If you have better idea about constant name(s), let me know.
* Enable pg_escape_bytea().Yasuo Ohgaki2002-10-131-0/+1
|
* Rename pg_data_seek() to pg_result_seek().Yasuo Ohgaki2002-10-031-1/+1
| | | | | Added mysql_result_seek() which is alias of mysql_data_seek().
* Added pg_data_seek().Yasuo Ohgaki2002-10-021-0/+1
| | | | | pg_result_seek() woudl be better name, but there is mysql_data_seek()...
* Added pg_ping()Yasuo Ohgaki2002-10-021-0/+1
|
* Rename pg_metadata() to pg_meta_data() to confirm naming standardYasuo Ohgaki2002-10-021-2/+2
|
* Added pg_fetch_assoc(). Fixed proto. Added/fixed comments.Yasuo Ohgaki2002-09-301-1/+2
| | | | | # It seems last attempt was failed. Try committing again.
* Added pg_fetch_all() that fetch all rows in result.Yasuo Ohgaki2002-07-211-0/+2
| | | | | | Useful and faster when there is enough memory. @Added pg_fetch_all() that fetch all rows in result. (Yasuo)
* Fix win32 build.Edin Kadribasic2002-05-101-0/+6
|
* pg_client_encoding/pg_set_client_encoding should be compiled always.Yasuo Ohgaki2002-04-251-2/+0
| | | | | | | | | | Recent libpq has PQclientEncoding/PQsetClientEncoding regarless of multibyte support enabled or not. Reported by c@cornelia-boenigk.de # This should be merged, but need a little more testing.
* Make pg_convert/pg_insert/pg_select/pg_update/pg_delete a bit more flexible.Yasuo Ohgaki2002-04-231-6/+18
| | | | | | pg_convert() may ignore, NOT NULL and/or DEFAULT. pg_insert/pg_update/pg_select/pg_update may return query string.
* Added API version for C programsYasuo Ohgaki2002-04-201-0/+2
|
* Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update()Yasuo Ohgaki2002-04-081-3/+63
| | | | | | | and pg_delete(). @ Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update() @ and pg_delete(). (Yasuo)
* Chages for new pg_last_notice()Yasuo Ohgaki2002-04-061-3/+7
|
* Print PostgreSQL version number in phpinfo()Yasuo Ohgaki2002-03-311-0/+4
|
* Clean up code.Yasuo Ohgaki2002-02-061-7/+2
| | | | | | | Removed PHP_PGSQL_API macro. Define pgsql_globals_id # Need a little more clean up
* Make module specified functions to static.Yasuo Ohgaki2002-02-061-8/+8
| | | | | Added TSRMLS_D/C, get rid of one TSRMLS_FETCH.
* Added "auto_reset_presistent" ini entry.Yasuo Ohgaki2002-01-251-0/+1
|
* Funtion rename:Yasuo Ohgaki2001-12-171-37/+59
| | | | | | | | | | | | | | | | Functions are renamed accoding to coding stanard. Some functions has completely different name now. New functions: pg_copy_to()/pg_copy_from() - by Youichi Iwakiri <yiwakiri@st.rim.or.jp> pg_lo_tell()/pg_lo_seek()/pg_result_error()/pg_result_status() pg_escape_string()/pg_escape_bytea() - Only pgsql 7.2 or later. Fixed: Wrong mode when clean up connection resource. Compiler warning for pg_encoding_to_char(). # Please do not document new functions, yet. # For new functions and other info, please read README # in module dir.
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* Added async query functionsYasuo Ohgaki2001-12-101-1/+7
|
* Fix pg_last_notice()Zeev Suraski2001-09-261-0/+1
|
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-11/+2
|
* Allow the PostgreSQL driver to do internal row counting when iteratingJon Parise2001-06-191-0/+1
| | | | | | | through a result set. Submitted by: Georg von Zezschwitz <gvz@2scale.net>
* Add pg_last_notice() functionRasmus Lerdorf2001-05-061-0/+2
|
* make it compile with 6.5.xThies C. Arntzen2001-04-041-0/+1
| | | | | postgresql notices are now send to the standard error-log
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|
* Simpler fix for the InvalidOid thing by Tom Lane.Sascha Schumann2001-02-191-3/+0
| | | | | | He assured me that InvalidOid has always expanded to (Oid) 0, so this should be safe.
* Fix incompatibility with PostgreSQL CVS.Sascha Schumann2001-02-191-0/+2
| | | | | | | | We now perform a check whether we need to include <postgres.h> to succesfully compile. PR: #9328
* @- PostgreSQL now does a rollback at the end of a request on everyThies C. Arntzen2001-02-131-0/+1
| | | | | | | | | | @ persistent connection. This is done by doing an "empty" transaction @ on the connection (This was advised by someone from the PostgreSQL @ core-team). If you leave transactions open on your page you will see a @ "NOTICE: BEGIN: already a transaction in progress" message in your @ apache error_log. This message is created by the PostgreSQL libs - we can @ do nothing about it. (Thies)
* - Added the pg_lolseek function, which allows for arbitrary seeking withinDerick Rethans2001-01-181-0/+2
| | | | | | | | a large object, and the pg_lotell call, which can be used to find the current file offset for a large object (Submitted by: Adam Haberlach <adam@newsnipple.com>). @- Added the pg_lolseek and pg_lotell functions (Derick)
* Changing my email address...Jouni Ahto2001-01-041-1/+1
|
* - The Sprit of PHP is to have descriptive function names and notAndi Gutmans2000-09-131-2/+2
| | | | | necessarily short ones. Maybe we should have some FAQ for this?
* updated some functions'name using obsolete name convention.Rui Hirokawa2000-09-121-2/+2
|