364 Commits (d3ddf47718957f7276e7cd27beef445a7bc5cfd2)

Author SHA1 Message Date
Marcus Boerger 50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 19 years ago
Ilia Alshanetsky a471f75354 Simplify code by converting emalloc() + sprintf() to spprintf() 19 years ago
Antony Dovgal 870bd0b99f MFH 19 years ago
Ilia Alshanetsky 5babb6d10d Fixed bug #39979 (PGSQL_CONNECT_FORCE_NEW will causes next connect to 19 years ago
Ilia Alshanetsky 7d901eacbe %f -> %F 19 years ago
Sebastian Bergmann 4223aa4d5e MFH: Bump year. 19 years ago
Ilia Alshanetsky 79d524dc1e Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used for 19 years ago
Ilia Alshanetsky 794845234e Added buffer length checks 19 years ago
Ilia Alshanetsky 52d53543ac Allocation safety checks 19 years ago
Ilia Alshanetsky bfa4af46e1 Fixed bug #39663 (Memory leak in pg_get_notify() and a possible memory 19 years ago
Ilia Alshanetsky b28cbe8b6f Fixed bug #36812 (pg_execute() modifies input array). 19 years ago
Ilia Alshanetsky fab29dcbcf Make pg_escape_bytea() use PQescapeByteaConn() whenever possible. 20 years ago
Hannes Magnusson 93909bb30e - nuke unused variable 20 years ago
Ilia Alshanetsky e8c70bfa99 Added support for character sets in pg_escape_string() for PostgreSQL 20 years ago
Hannes Magnusson 9bff1e24b5 pg_send_prepare(), pg_send_query_params() & pg_send_execute() do not throw "Wrong parameter count" 20 years ago
Ilia Alshanetsky 2cc1f53f3b Added a check for PQftable() function 20 years ago
Antony Dovgal 37635d93e6 fix leak in pg_copy_to() when invalid resource was passed 20 years ago
Dmitry Stogov 1dbaae2795 Added automatic module globals management 20 years ago
Marcus Boerger 77c1b56cd7 - Update after api changes 20 years ago
Edin Kadribasic 18eb480dd2 MFH: Added pg_field_table() as per req: #36750 20 years ago
Marcus Boerger 8bbf3a00dc - MFH Fix potenbtioal SEGV 20 years ago
Yasuo Ohgaki cdbe8b4fd8 reenable pg_execute E_WARNING 20 years ago
Yasuo Ohgaki 82376269fd remove pg_execute() E_WARNING error when query plan is not defined 20 years ago
Marcus Boerger 0bcd459300 - bug #36625 fix 20 years ago
Antony Dovgal 0b12f7307e MFH: fix #36606 (pg_query_params() changes arguments type to string) 20 years ago
foobar 5bd93221a8 bump year and license version 20 years ago
Marcus Boerger 81c25d8700 - Get rid of compiler warnings (both postgres an dphp use these defines) 20 years ago
foobar 3e669bc950 MFH: nuke php3 legacy 20 years ago
foobar a3af52c11e MFH: list_entry -> zend_rsrc_list_entry 20 years ago
Marcus Boerger ae1d56d098 - MFH Bug #32223 weird behaviour of pg_last_notice 21 years ago
Marcus Boerger 71ad4dd19b - Fix parameter parsing 21 years ago
Ilia Alshanetsky ea4734926e MFH: Fixed bug #33167 (Possible crash inside pg_fetch_array()). 21 years ago
Edin Kadribasic d327027ea9 Use free() instead of PQfreemem() to maintain compabitibility with older 21 years ago
foobar 23e671a51e - Bumber up year 21 years ago
Ilia Alshanetsky ef7bd06657 Added pg_fetch_all_columns() function to fetch all values of a column from 21 years ago
Edin Kadribasic 312a8eede3 Properly detect when the copy command fails 21 years ago
Derick Rethans 17b877a772 - Fixed memory corruption in pg_copy_from() in case the as_null parameter was 21 years ago
Antony Dovgal fcf14f1795 use & and check for the right value of result_type 21 years ago
Antony Dovgal 38a7ef5fe6 fix #32904 (pg_get_notify() ignores result_type parameter) 21 years ago
Ilia Alshanetsky bdbce01588 Prevent double free. 21 years ago
Antony Dovgal 2c511712f7 disable pg_cmdtuples() too, if there is no pg_affected_rows() 21 years ago
Derick Rethans cba30657d9 - MFH43: Fixed bug #32699 (pg_affected_rows() was defined when it was not 21 years ago
Christopher Kings-Lynne 030ebaaa45 (PHP pg_unescape_bytea) Use libpq version of PQunescapeBytea if it exists. 21 years ago
Ilia Alshanetsky e8bd3b9b4f Slightly safer code. 21 years ago
Christopher Kings-Lynne e2b87e6230 Tweak some #if's to be more orthogonal. 21 years ago
foobar 4d46234912 - Fixed a warning (might also be an error with some exotic compiler) 21 years ago
Christopher Kings-Lynne 721d34bebc Two of the diagnostic definitions were added in 8.0. Add appropriate #ifdefs. 21 years ago
Christopher Kings-Lynne 3dd44c3018 Another oversight - make sure constants related to pg_result_error_field are #if'd as well as the function itself 21 years ago
Christopher Kings-Lynne 28ec3abf87 Minor oversight in #if for an internal function 21 years ago
Christopher Kings-Lynne 1168c30635 Added several new functions to support the PostgreSQL v3 protocol 21 years ago