summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
Commit message (Collapse)AuthorAgeFilesLines
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used forIlia Alshanetsky2006-12-291-6/+6
| | | | | timestamp fields).
* Added buffer length checksIlia Alshanetsky2006-12-281-1/+1
|
* Allocation safety checksIlia Alshanetsky2006-12-251-1/+1
|
* Fixed bug #39663 (Memory leak in pg_get_notify() and a possible memoryIlia Alshanetsky2006-11-291-4/+5
| | | | | corruption on Windows in pgsql and pdo_pgsql extensions).
* Fixed bug #36812 (pg_execute() modifies input array).Ilia Alshanetsky2006-11-131-3/+4
|
* Make pg_escape_bytea() use PQescapeByteaConn() whenever possible.Ilia Alshanetsky2006-10-061-5/+23
|
* - nuke unused variableHannes Magnusson2006-10-051-6/+6
| | | | | | - "prefer" two arguments - only print "wrong parameter count" once
* Added support for character sets in pg_escape_string() for PostgreSQLIlia Alshanetsky2006-10-041-6/+22
| | | | | 8.1.4 and higher.
* pg_send_prepare(), pg_send_query_params() & pg_send_execute() do not throw ↵Hannes Magnusson2006-10-031-3/+3
| | | | "Wrong parameter count"
* Added a check for PQftable() functionIlia Alshanetsky2006-09-151-1/+5
|
* fix leak in pg_copy_to() when invalid resource was passedAntony Dovgal2006-09-061-2/+3
|
* Added automatic module globals managementDmitry Stogov2006-06-151-7/+10
|
* - Update after api changesMarcus Boerger2006-05-101-3/+3
|
* MFH: Added pg_field_table() as per req: #36750Edin Kadribasic2006-05-071-0/+90
|
* - MFH Fix potenbtioal SEGVMarcus Boerger2006-04-101-1/+2
|
* reenable pg_execute E_WARNINGYasuo Ohgaki2006-03-281-0/+1
|
* remove pg_execute() E_WARNING error when query plan is not definedYasuo Ohgaki2006-03-271-1/+0
|
* - bug #36625 fixMarcus Boerger2006-03-131-1/+1
|
* MFH: fix #36606 (pg_query_params() changes arguments type to string)Antony Dovgal2006-03-051-2/+2
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Get rid of compiler warnings (both postgres an dphp use these defines)Marcus Boerger2005-12-201-0/+6
|
* MFH: nuke php3 legacyfoobar2005-12-061-1/+1
|
* MFH: list_entry -> zend_rsrc_list_entryfoobar2005-12-051-8/+8
|
* - MFH Bug #32223 weird behaviour of pg_last_noticeMarcus Boerger2005-11-071-2/+2
|
* - Fix parameter parsingMarcus Boerger2005-11-061-3/+9
|
* MFH: Fixed bug #33167 (Possible crash inside pg_fetch_array()).Ilia Alshanetsky2005-10-111-10/+6
|
* Use free() instead of PQfreemem() to maintain compabitibility with olderEdin Kadribasic2005-08-161-2/+2
| | | | | PostgreSQL client libraries (bug #33813).
* - 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.