summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
Commit message (Collapse)AuthorAgeFilesLines
* - Better order for SEGV preventionMarcus Boerger2006-04-101-1/+2
|
* - Fix possible SEGVMarcus Boerger2006-04-101-3/+3
|
* restore E_WARNING in correct placeYasuo Ohgaki2006-03-291-0/+1
|
* remove pg_execute() E_WARNING error when query plan is not definedYasuo Ohgaki2006-03-271-1/+0
|
* Simplify and optimize code.Ilia Alshanetsky2006-03-221-5/+4
|
* Added pg_field_table() as per req: #36750Edin Kadribasic2006-03-161-0/+90
|
* - remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybasePierre Joye2006-03-081-12/+5
| | | | | | | (calling ini_set('magic_....') returns 0|false - get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false - set_magic_quotes_runtime raises an E_CORE_ERROR
* - Fixed #36625 pg_trace() does not workMarcus Boerger2006-03-061-1/+1
|
* fix #36606 (pg_query_params() changes arguments type to string)Antony Dovgal2006-03-051-2/+2
|
* - Get rid of using ENFORCE_SAFE_MODE.Andi Gutmans2006-02-191-1/+1
|
* Start nuking safe_mode. Still a lot of work to do...Andi Gutmans2006-02-191-8/+0
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - MFB Get rid of warningsMarcus Boerger2005-12-201-0/+6
|
* - Nuke php3 legacyfoobar2005-12-061-1/+1
|
* - list_entry -> zend_rsrc_list_entryfoobar2005-12-051-8/+8
|
* - Fix Bug #32223 weird behaviour of pg_last_noticeMarcus Boerger2005-11-071-2/+2
|
* -MFB Fix parameter parsingMarcus Boerger2005-11-061-3/+9
|
* Fixed bug #33167 (Possible crash inside pg_fetch_array()).Ilia Alshanetsky2005-10-111-10/+6
|
* ZTS fixes.Sebastian Bergmann2005-08-121-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Added pg_fetch_all_columns() function to fetch all values of a column fromIlia Alshanetsky2005-07-081-0/+42
| | | | | a result cursor.
* Properly detect when the copy command failsEdin Kadribasic2005-07-051-0/+8
|
* - Fixed memory corruption in pg_copy_from() in case the as_null parameter wasDerick Rethans2005-07-051-1/+5
| | | | | passed. (Derick)
* use & and check for the right value of result_typeAntony Dovgal2005-05-101-2/+7
|
* fix #32904 (pg_get_notify() ignores result_type parameter)Antony Dovgal2005-05-101-2/+2
|
* Prevent double free.Ilia Alshanetsky2005-05-031-2/+5
|
* disable pg_cmdtuples() too, if there is no pg_affected_rows()Antony Dovgal2005-04-131-0/+2
|
* - MFH43: Fixed bug #32699 (pg_affected_rows() was defined when it was notDerick Rethans2005-04-131-0/+4
| | | | | available).
* (PHP pg_unescape_bytea) Use libpq version of PQunescapeBytea if it exists.Christopher Kings-Lynne2005-03-251-1/+9
| | | | | | | # The version in libpq is newer and faster than the one in PHP, but it is # necessary for me to add a string copy for freeing purposes. This copy # is only needed in Windows AFAIK, how can I detect that?
* Slightly safer code.Ilia Alshanetsky2005-03-251-1/+1
|
* Tweak some #if's to be more orthogonal.Christopher Kings-Lynne2005-03-221-5/+107
| | | | | | | | | (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
* - Fixed a warning (might also be an error with some exotic compiler)foobar2005-03-201-1/+1
|
* Two of the diagnostic definitions were added in 8.0. Add appropriate #ifdefs.Christopher Kings-Lynne2005-03-201-2/+9
|
* Another oversight - make sure constants related to pg_result_error_field are ↵Christopher Kings-Lynne2005-03-191-0/+2
| | | | #if'd as well as the function itself
* Minor oversight in #if for an internal functionChristopher Kings-Lynne2005-03-191-1/+1
|
* Added several new functions to support the PostgreSQL v3 protocolChristopher Kings-Lynne2005-03-191-1/+711
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* ws fixEdin Kadribasic2005-02-141-1/+1
|
* Added pg_field_type_oid() functionEdin Kadribasic2005-02-141-0/+30
|
* - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()Andi Gutmans2004-07-191-2/+2
| | | | | | | | | | | | | | | used to return "" and not bool(false). It's not worth keeping it because STR_FREE() and zval_dtor() always have to check for it and it slows down the general case. In addition, it seems that empty_string has been abused quite a lot, and was used not only for setting zval's but generally in PHP code instead of "", which wasn't the intention. Last but not least, nuking empty_string should improve stability as I doubt every place correctly checked if they are not mistakenly erealloc()'ing it or calling efree() on it. NOTE: Some code is probably broken. Each extension maintainer should check and see that my changes are OK. Also, I haven't had time to touch PECL yet. Will try and do it tomorrow.
* Fixed bug #28374 (Possible unterminated loop insideIlia Alshanetsky2004-05-121-1/+1
| | | | | _php_pgsql_trim_message()).
* Fixed possible crash inside pg_copy_(to|from) function if delimiter is moreIlia Alshanetsky2004-04-221-4/+4
| | | | | then 1 character long.
* Fixed bug #27300 (Improved regex for pg_convert()).Ilia Alshanetsky2004-03-181-4/+51
| | | | | # Patch by benjcarson at digitaljunkies dot ca
* Keep BC of pg_fetch_objectMarcus Boerger2004-03-151-9/+8
|
* Bugfix #27597 pg_fetch_array not returning false .Marcus Boerger2004-03-151-3/+7
|
* Wordsize fixesArd Biesheuvel2004-02-251-3/+4
|
* zend_default_classes.h -> zend_exceptions.hZeev Suraski2004-02-121-1/+1
|
* Fixed bug #27007 (missing connection closure when connect fails in pgsql).Ilia Alshanetsky2004-01-291-0/+3
|
* Fixed bug #26864 (pg_(update|delete) ignore PGSQL_DML_EXEC option).Ilia Alshanetsky2004-01-111-2/+8
|
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* Missing bit for bug #26625.Ilia Alshanetsky2003-12-221-3/+2
|