Commit Graph

549 Commits

Author SHA1 Message Date
Yasuo Ohgaki
77d11b4959 add pg_escape_identifier/pg_escape_literal 2011-11-25 02:21:01 +00:00
Ilia Alshanetsky
32c4c239c0 Fixed bug #60244 (pg_fetch_* functions do not validate that row param is >0). 2011-11-15 18:02:58 +00:00
Matteo Beccati
25ebbe6464 Fixed a few false positives on gcov for ext/pgsql 2011-08-30 14:01:03 +00:00
Felipe Pena
da376383e8 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Pierre Joye
cc1c7af037 - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ 2011-07-22 11:25:30 +00:00
Felipe Pena
4737910b69 - Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Ilia Alshanetsky
46ff954ca7 Added support for "extra" parameter for PGNotify(). 2011-01-27 16:02:30 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Felipe Pena
ccfe9c30aa - Fixed bug #47199 (pg_delete() fails on NULL)
patch by: ewgraf at gmail dot com
2010-11-06 17:43:25 +00:00
Pierre Joye
aa0ed267a2 - use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert 2010-09-16 09:13:19 +00:00
Raphael Geissert
59fa776c53 Fix typos s/connnection/connection 2010-05-01 18:27:42 +00:00
Rob Richards
0a34d10783 revert change #298288: Remove old dsp/dsw/makefile files 2010-04-28 14:41:51 +00:00
Kalle Sommer Nielsen
dd8e59da8f Removed safe_mode
* Removed ini options, safe_mode*
 * Removed --enable-safe-mode --with-exec-dir configure options on Unix
 * Updated extensions, SAPI's and core
 * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Kalle Sommer Nielsen
518a17e7bf Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions 2010-04-21 23:36:49 +00:00
Felipe Pena
b7bd1167a9 - Fixed bug #51607 (pg_copy_from does not allow schema in the tablename argument)
Patch by: cbandy at jbandy dot com
2010-04-20 15:59:01 +00:00
Felipe Pena
8c14acfc82 - Fixed bug #51609 (pg_copy_to: Invalid results when using fourth parameter) 2010-04-20 14:11:53 +00:00
Felipe Pena
f507cc9cf6 - Fixed bug #51608 (pg_copy_to: WARNING: nonstandard use of \\ in a string literal)
Patch by: cbandy at jbandy dot com
2010-04-20 11:49:23 +00:00
Hannes Magnusson
3f15f8f4e3 Fix build (see r296062) 2010-03-11 19:50:04 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Matteo Beccati
166b3ef63d Removed spurious high-ascii char from previous commmit 2009-12-25 21:01:06 +00:00
Matteo Beccati
09587d3cbf - Updated ext/pgsql tests to work w/ PostgreSQL 8.5
# tested w/ 8.5alpha3
2009-12-25 20:56:00 +00:00
Ilia Alshanetsky
eae259b7ea Fixe build 2009-11-27 03:02:01 +00:00
Ilia Alshanetsky
23f4da9113 Fixed bug #50195 (pg_copy_to() fails when table name contains schema). 2009-11-25 14:28:00 +00:00
Ilia Alshanetsky
03ddb4f2b5 Fixed compiler warnings 2009-11-02 13:33:24 +00:00
Kalle Sommer Nielsen
01fc4ed1d6 MFH: Fix compiler warnings 2009-05-19 16:03:36 +00:00
Pierre Joye
dff4655e31 - MFH: define HAVE_PQPROTOCOLVERSION and HAVE_PG_LO_CREATE (Tim Starling) 2009-05-11 10:44:12 +00:00
Ilia Alshanetsky
309533842f MFB: ext/pgsql/tests/80_bug14383.phpt 2009-04-06 14:23:07 +00:00
Ilia Alshanetsky
8610935eac Fixed bug #47639 (pg_copy_from() WARNING: nonstandard use of \\ in a string
literal)
2009-03-12 22:53:16 +00:00
Pierre Joye
cb95e1e709 - add path for libpq (other are kept) 2009-03-09 17:52:51 +00:00
Felipe Pena
d295d9113e - MFH: Fix test 2009-01-30 14:50:05 +00:00
Felipe Pena
e77326faba - MFH: Fixed bug #47048 (Segfault with new pg_meta_data) 2009-01-18 23:49:31 +00:00
Ilia Alshanetsky
dfa86ccf73 Improved parameter handling 2009-01-13 19:08:08 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Dmitry Stogov
7d4fd3fd38 Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:01:23 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Felipe Pena
8563497a94 MFH:
- Fixed:
  . Memory leak in pg_delete() when using PGSQL_DML_STRING.
  . Bug #24679 (pg_insert problem!)
  . Bug #35996 (pg_meta_data should take the schema into account)
  . Bug #40808 (pg_insert problem)
  . Bug #42078 (pg_meta_data mix tables metadata from different schemas)
- Improved:
  . Error messages
- Added:
  . Tests
2008-10-16 00:39:31 +00:00
Felipe Pena
30173a8ec8 - Fixed possible efree(NULL) 2008-10-15 13:34:26 +00:00
Felipe Pena
310ac30e5a MFH:
- Fixed bug #37100 (data is returned truncated with BINARY CURSOR)
  Patch by Tony
2008-10-13 13:44:32 +00:00
Ilia Alshanetsky
529105427e use proper macro 2008-10-08 23:04:38 +00:00
Ilia Alshanetsky
fdcdf8c02b Fixed bug #46206 (pg_query_params/pg_execute convert passed values to
strings).
2008-10-01 20:30:23 +00:00
Ilia Alshanetsky
b3bbaf7d06 Fixed unused var warning 2008-09-10 01:39:35 +00:00
Felipe Pena
0c745885ca - Fixed some wrong format parameters 2008-09-08 01:33:08 +00:00
Jani Taskinen
b17dc14f18 MFH: nuketh C++ comments 2008-08-03 12:15:55 +00:00
Dmitry Stogov
691d4a6999 Fixed uninitialised data 2008-07-25 08:23:07 +00:00
Hartmut Holzgraefe
54981e8c2e MFH: corrected library search path order in tests 2008-07-23 21:44:25 +00:00
Hartmut Holzgraefe
6fcc0ec369 splitted test cases for lo_create and lo_import, added version aware
SKIP tests
2008-07-23 09:06:59 +00:00
Hartmut Holzgraefe
432b57b2ae added support for object ids in pg_lo_create() and pg_lo_import() where available
(based on code provided by Tatsuo Ishii)
2008-07-23 00:17:19 +00:00
Felipe Pena
01a35a058f - Added arginfo 2008-07-02 00:10:54 +00:00