Commit Graph

526 Commits

Author SHA1 Message Date
Kalle Sommer Nielsen
c00b3c7fd8 Fix compiler warnings, and some unicode stuff 2009-05-19 16:03:23 +00:00
Pierre Joye
9c54462337 - define HAVE_PQPROTOCOLVERSION and HAVE_PG_LO_CREATE (Tim Starling) 2009-05-11 10:43:44 +00:00
Ilia Alshanetsky
230c991f23 MFB: Fixed test 2009-04-06 14:23:17 +00:00
Ilia Alshanetsky
1f369b1fb2 Fixed bug #47639 (pg_copy_from() WARNING: nonstandard use of \\ in a string
literal)
2009-03-12 22:53:37 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Felipe Pena
4342d0b6b7 - Fix test 2009-01-30 14:49:46 +00:00
Felipe Pena
75a31bacb1 - Fixed bug #47048 (Segfault with new pg_meta_data) 2009-01-18 23:49:11 +00:00
Ilia Alshanetsky
fe7fa7715e MFB: Improved parameter handling 2009-01-13 19:08:37 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Dmitry Stogov
e5454b359a Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:02:45 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
36abaa35f1 - Fixed compiler warning 2008-11-03 17:24:12 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Felipe Pena
e6194c69f0 - 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:36:49 +00:00
Felipe Pena
faadae148b - Fixed possible efree(NULL) 2008-10-15 13:34:13 +00:00
Felipe Pena
ee5494ac9e - Fixed bug #37100 (data is returned truncated with BINARY CURSOR)
Patch by Tony
2008-10-13 13:41:16 +00:00
Ilia Alshanetsky
b2b212bbcf MFB: use proper macro 2008-10-08 23:04:58 +00:00
Ilia Alshanetsky
8710c3a916 MFB: Fixed bug #46206 (pg_query_params/pg_execute convert passed values to
strings).
2008-10-01 20:31:02 +00:00
Felipe Pena
1ae8e8b94e - Fixed some wrong format parameters 2008-09-08 01:30:55 +00:00
Jani Taskinen
c9c53d7bcd - Nuketh C++ comments from C files. 2008-08-03 12:12:45 +00:00
Dmitry Stogov
013059c247 Fixed uninitialized data 2008-07-25 08:53:11 +00:00
Hartmut Holzgraefe
92ba7b34ce corrected library search path order in tests 2008-07-23 21:41:27 +00:00
Hartmut Holzgraefe
d11e0df7ad MFB + Unicode:
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 09:27:01 +00:00
Felipe Pena
913ae1b492 - MFB: Added arginfo 2008-07-02 00:13:26 +00:00
Felipe Pena
effcd82e54 - MFB: New parameter parsing API
- Fixed tests
2008-06-30 01:59:35 +00:00
Ilia Alshanetsky
8be988a8a4 MFB: Fixed bug #45004 (pg_insert() does not accept 4 digit timezone format) 2008-05-19 15:18:49 +00:00
Dmitry Stogov
42a683d688 Imporoved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:56:22 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Antony Dovgal
39522d9588 fix build 2007-11-29 21:23:59 +00:00
Ilia Alshanetsky
824738fb05 MFB: Fixed bug #43041 (micro-optimizations in pgsql data retrieval) 2007-11-22 00:20:40 +00:00
Ilia Alshanetsky
d703b11676 MFB: Fixed bug #43279 (pg_send_query_params() converts all elements in 'params'
to strings)
2007-11-13 20:08:17 +00:00
Ilia Alshanetsky
1e6e22885d MFB: Fixed bug #42783 (pg_insert() does not accept an empty list for
insertion)
2007-10-03 23:31:04 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Ilia Alshanetsky
6d2adf8d59 Fixed typo in function name 2007-09-05 13:03:33 +00:00
Ilia Alshanetsky
7828a66219 MFB: Fixed bug #41845 (pgsql extension does not compile with PostgreSQL
<7.4)
2007-09-05 12:58:48 +00:00
Ilia Alshanetsky
83e7b29d47 MFB: Fixed bug #42506 (php_pgsql_convert() timezone parse bug) 2007-09-05 12:56:16 +00:00
Ilia Alshanetsky
08f9a66c98 Fixed bug #42368 (Incorrect error message displayed by pg_escape_string) 2007-08-21 23:51:34 +00:00
Jani Taskinen
41c6375840 - Moved the old regex functions to it's own extension: ereg 2007-07-15 19:50:07 +00:00
Jani Taskinen
b394a74797 - Removed unused empty macro and nuked illegal use of $withval 2007-07-11 21:51:10 +00:00
Ilia Alshanetsky
e844eaedbb MFB 2007-05-29 21:06:04 +00:00
Antony Dovgal
ccd97f3a21 fix test names 2007-05-07 17:23:53 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Antony Dovgal
9e5d731619 MFB: PQfreemem() checks 2007-02-19 19:46:36 +00:00
Edin Kadribasic
5182530587 MFB 2007-02-19 17:28:26 +00:00
Antony Dovgal
8190ad4661 make sure the string is non-empty and use strlcpy() & strlcat() 2007-01-11 16:45:27 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Ilia Alshanetsky
df5d843c99 MFB: Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used for
timestamp fields).
2006-12-29 00:34:53 +00:00
Ilia Alshanetsky
c42fb0033d MFB: Added buffer length checks 2006-12-28 15:21:32 +00:00
Ilia Alshanetsky
2dbfe66e4a MFB: safety checks 2006-12-26 17:40:20 +00:00