Matteo Beccati
d5a1c0cae2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #64609 (pg_convert enum type support)
2013-06-02 06:34:05 +02:00
Matteo Beccati
51c065f611
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #64609 (pg_convert enum type support)
2013-06-02 06:33:54 +02:00
Matteo Beccati
25aae37229
Fixed bug #64609 (pg_convert enum type support)
2013-06-02 06:29:35 +02:00
Matteo Beccati
d9c2eecec0
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #62857 (bytea test failures)
2013-06-01 23:23:14 +02:00
Matteo Beccati
de42833115
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #62857 (bytea test failures)
2013-06-01 23:22:50 +02:00
Matteo Beccati
79803bebde
Fixed bug #62857 (bytea test failures)
...
Postgres 9.1+ test fixes. Tests were failing due to the default
standard_conforming_strings GUC being changed to on. Also the
pg_escape_bytea test was encoding the data before estabilishing
a connection, thus falling back to the old escaping type which
isn't properly handled by the backend when using a default
configuration.
I haven't updated the NEWS file as it's just test fixes.
2013-06-01 23:15:48 +02:00
Nikita Popov
430c987716
Skip locale dependent test if locale not available
2013-03-23 21:09:21 +01:00
Lars Strojny
92965b033a
Bug #46408 : Fix double formatting for PostgreSQL bound parameters
2013-01-14 21:23:52 +01:00
Xinchen Hui
610c7fbe7b
Remove executable permission on phpt
2012-10-10 10:27:49 +08:00
Xinchen Hui
e081c55fb5
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-10 10:31:31 +08:00
Yasuo Ohgaki
655245afef
add pg_escape_identifier/pg_escape_literal
2012-04-19 13:40:24 -07:00
Ilia Alshanetsky
b6530d8978
Fixed bug #60244 (pg_fetch_* functions do not validate that row param is >0).
2011-11-15 18:02:58 +00:00
Ilia Alshanetsky
4cf3c8c558
Fixed bug #60244 (pg_fetch_* functions do not validate that row param is >0).
2011-11-15 18:02:58 +00:00
Matteo Beccati
18b8a3bcb7
Fixed a few false positives on gcov for ext/pgsql
2011-08-30 14:01:03 +00:00
Matteo Beccati
238a51ec6e
Fixed a few false positives on gcov for ext/pgsql
2011-08-30 14:01:03 +00:00
Felipe Pena
996f45b688
- Fixed bug #47199 (pg_delete() fails on NULL)
...
patch by: ewgraf at gmail dot com
2010-11-06 17:43:25 +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
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
309533842f
MFB: ext/pgsql/tests/80_bug14383.phpt
2009-04-06 14:23:07 +00:00
Felipe Pena
d295d9113e
- MFH: Fix test
2009-01-30 14:50:05 +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
310ac30e5a
MFH:
...
- Fixed bug #37100 (data is returned truncated with BINARY CURSOR)
Patch by Tony
2008-10-13 13:44:32 +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
4fe93ca55d
- Fixed test
2008-06-30 01:23:30 +00:00
Ilia Alshanetsky
f6b761b0ac
Fixed bug #42783 (pg_insert() does not accept an empty list for insertion)
2007-10-03 23:30:46 +00:00
Antony Dovgal
1f65545121
fix test names
2007-05-07 18:03:01 +00:00
Ilia Alshanetsky
79d524dc1e
Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used for
...
timestamp fields).
2006-12-29 00:34:30 +00:00
Hannes Magnusson
f4e63cbece
Fix test
2006-12-12 09:15:25 +00:00
Marcus Boerger
0bcd459300
- bug #36625 fix
2006-03-13 22:56:20 +00:00
Marcus Boerger
8479546920
- MFH Fix tests
2005-12-31 17:42:39 +00:00
Ilia Alshanetsky
6654b31e26
fixed test for ZTS
2005-12-18 14:22:48 +00:00
Marcus Boerger
ae1d56d098
- MFH Bug #32223 weird behaviour of pg_last_notice
2005-11-07 12:57:49 +00:00
Marcus Boerger
91682f88e4
- MFH Make test check for PlPgSQL before using it
2005-10-09 15:58:13 +00:00
Marcus Boerger
a8c5828ce0
- MFH Add new test
2005-10-09 15:14:22 +00:00
Christopher Kings-Lynne
030ebaaa45
(PHP pg_unescape_bytea) Use libpq version of PQunescapeBytea if it exists.
...
# 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?
2005-03-25 06:26:31 +00:00
Christopher Kings-Lynne
63ed4a1996
- Ensure that ext/pgsql tests work when linked against 7.2 or lower libpq
2005-03-23 03:24:41 +00:00
Christopher Kings-Lynne
e2b87e6230
Tweak some #if's to be more orthogonal.
...
(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
2005-03-22 08:51:23 +00:00
Christopher Kings-Lynne
721d34bebc
Two of the diagnostic definitions were added in 8.0. Add appropriate #ifdefs.
2005-03-20 02:46:02 +00:00
Marcus Boerger
d23781e08d
- Add missing skipif part
2005-03-19 10:58:44 +00:00
Christopher Kings-Lynne
e4570cdbd2
Add regression tests for pg_transaction_status and pg_result_error_field
2005-03-19 09:20:52 +00:00
Christopher Kings-Lynne
1168c30635
Added several new functions to support the PostgreSQL v3 protocol
...
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.
2005-03-19 08:46:56 +00:00
Marcus Boerger
b83663e0f2
Keep BC of pg_fetch_object
2004-03-15 20:16:59 +00:00
Marcus Boerger
0ace9f4885
Bugfix #27597 pg_fetch_array not returning false .
2004-03-15 19:47:18 +00:00
Marcus Boerger
1651be020a
Show the connect result
2004-03-09 14:37:49 +00:00
Ilia Alshanetsky
20d64aa24e
Make test work with PostgreSQL 7.4
2003-12-23 17:33:06 +00:00
Marcus Boerger
37bcfda978
#args, reinsert skipif for extension check
2003-12-06 20:41:07 +00:00
Marcus Boerger
4a66bd9394
Do not dynamically load the extension in skipif
2003-12-06 20:35:41 +00:00
Marcus Boerger
f6239c33bc
Modify pg_fetch_object() to be able to instantiate a selected class and pass
...
parameters to the constructor. Update tests and add a test for these features.
2003-09-06 18:34:55 +00:00