Stanislav Malyshev
68e8326e0e
Merge branch 'PHP-5.5'
...
* PHP-5.5:
non living code related typo fixes
2013-08-04 16:07:13 -07:00
Veres Lajos
8d86597d73
non living code related typo fixes
2013-08-04 16:05:36 -07:00
Remi Collet
04b2f8d53e
Merge branch 'PHP-5.5'
...
* PHP-5.5:
Related to bug #65047 (Test skip on client / server version)
2013-06-19 12:27:12 +02:00
Remi Collet
67bde2f8ac
Related to bug #65047 (Test skip on client / server version)
...
bug46274.phpt and bug46274_2.phpt
Make query silent (when server don't know bytea_output option)
bug_49985.phpt
Make result "locale" independent
2013-06-19 12:26:21 +02:00
Matteo Beccati
77032bcd9c
Merge branch 'PHP-5.5'
...
* PHP-5.5:
Fixed bug #65047 (Test skip on client / server version)
Remove broken client version checking
Clean up leftover file after the test
2013-06-19 11:53:21 +02:00
Matteo Beccati
c666239265
Fixed bug #65047 (Test skip on client / server version)
2013-06-19 11:48:03 +02:00
Matteo Beccati
b62b8b4528
Fixed Bug #42614 (PDO_pgsql: add pg_get_notify support)
2013-06-05 01:58:55 +02:00
Matteo Beccati
baabd11929
Refactored custom PDO_pgsql methods to trigger errors/exceptions
...
BC Break: the custom methods were previously just return false on
failure. Now they throw an exception with a proper error message.
An hopefully welcome improvement, but some application might be
depending on the old behaviour. FWIW the PDO::pgsqlCopy* methods
are not documented, even though they are available since 5.3.x.
2013-06-05 01:58:37 +02:00
Matteo Beccati
7360f0f1e6
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Clean up leftover test files
2013-06-02 13:39:19 +02:00
Matteo Beccati
2463e89794
Clean up leftover test files
2013-06-02 13:38:43 +02:00
Nikita Popov
cbf90b1a90
Fix PDO::inTransaction() test for pgsql
...
inTransaction() nowadays casts the in_transaction result to boolean.
I'm not sure whether the INERROR state should result in true or false.
For now I went with the result that we actually get.
2013-06-02 13:28:30 +02:00
David Soria Parra
440bbcd9e3
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
NEWS for bug #62593
Bug #62593 Updated to account for INOUT parameters
Bug #62593 Updated test to verify bindParam doesn't change original value
Bug #62593 Updated to always treat zval by value
Bug #62593 Added test for change
Bug #62593 Updated pdo_pgsql driver to convert boolean values to pg native format in emulation mode
2012-10-30 15:43:32 +01:00
Will Fitch
d922e801ee
Bug #62593 Updated test to verify bindParam doesn't change original value
2012-10-30 14:32:27 +01:00
Will Fitch
646c0e5738
Bug #62593 Updated to always treat zval by value
2012-10-30 14:32:22 +01:00
Will Fitch
f0835c002d
Bug #62593 Added test for change
2012-10-30 14:32:16 +01:00
Gustavo André dos Santos Lopes
fee191658d
- Fixed bug #61267 : pdo_pgsql's PDO::exec() returns the number of SELECTed
...
rows on postgresql >= 9
2012-03-08 08:52:28 +00:00
Gustavo André dos Santos Lopes
b7c9f8ae8a
- Fixed bug #61267 : pdo_pgsql's PDO::exec() returns the number of SELECTed
...
rows on postgresql >= 9
2012-03-08 08:52:28 +00:00
Ilia Alshanetsky
3d7a201eb4
Removed test for functionality available in 5.4+
2011-05-31 09:01:44 +00:00
Patrick Allaert
817776d1b9
- Fixed tests not passing under windows because of the directory separator
...
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Patrick Allaert
e2e76d40e3
- Fixed tests not passing under windows because of the directory separator
...
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Ilia Alshanetsky
90906a91e9
Added inTransaction() method to PDO, with specialized support for Postgres
2010-06-10 12:11:19 +00:00
Ilia Alshanetsky
6ed1819bf4
Added inTransaction() method to PDO, with specialized support for Postgres
2010-06-10 12:11:19 +00:00
Ilia Alshanetsky
9daa864c4f
Added support for copy to/from array/file for pdo_pgsql extension.
...
# original patch by Denis Gasparin
2010-06-10 11:11:29 +00:00
Ilia Alshanetsky
7ea9e879f3
Added support for copy to/from array/file for pdo_pgsql extension.
...
# original patch by Denis Gasparin
2010-06-10 11:11:29 +00:00
Matteo Beccati
9326c7e3a2
- Updated pdo_pgsql tests to be 8.5+ friendly
2009-12-25 20:11:07 +00:00
Matteo Beccati
fa67c860e0
- Properly fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction).
...
# Removed usage of the memory address when generating prepared statemend names
# as uniqueness can't be enforced. Used a statment counter instead.
2009-11-04 19:32:27 +00:00
Matteo Beccati
9ee8dd90a3
- Fixed bug #48764 (PDO_pgsql::query always uses implicit prepared statements if v3 proto available)
...
# original patch by Mark Kirkwood
2009-10-07 17:40:16 +00:00
Matteo Beccati
c25b0a2817
MFH
...
- Moved test for bug #44861 to PDO commons and added support for pdo_oci
# This allows scrollable cursors to be tested with all the drivers
# that currently support them (pgsql and oci), ensuring a consistent
# behaviour. The test is skipped when using other drivers.
2009-05-12 23:40:32 +00:00
Matteo Beccati
3fb4089ba7
MFH
...
- Fixed bug #48188
2009-05-12 22:18:15 +00:00
Matteo Beccati
0b576f6f11
MFH:
...
- Reverted previous fix for bug #46274 and properly fixed it
- Fixed bug #48060
# Also added tests for pdo_oci as it's the only other driver currently
# using streams: no regression found
2009-04-23 13:26:10 +00:00
Matteo Beccati
6c6c8febf1
- Fixed bug #44861 (scrollable cursor don't work with pgsql)
2009-03-28 02:58:04 +00:00
Felipe Pena
bc9d57ab09
MFH: Fixed test bug #47311 (PDO::PARAM_LOB columns need to be bound before execute() on PgSQL)
2009-02-11 10:44:38 +00:00
Felipe Pena
981a23fff3
- MFH: Fixed bug #43925 (Incorrect argument counter in prepared statements with pgsql)
2008-10-23 18:53:05 +00:00
Felipe Pena
d2d4e044c7
- Complete the fix for #46274 , and tests
2008-10-12 13:01:31 +00:00
Ilia Alshanetsky
3d8e397546
Fixed test
2007-12-04 13:03:39 +00:00
Ilia Alshanetsky
39f37ce950
Fixed bug #43457 (Prepared statement with incorrect parms doens't
...
throw exception with pdo_pgsql driver)
2007-12-02 20:58:14 +00:00
Antony Dovgal
1f65545121
fix test names
2007-05-07 18:03:01 +00:00
Antony Dovgal
7731dc9421
fix #36727 (segfault in pdo_pgsql bindValue() when no parameters are defined)
2006-03-17 22:15:57 +00:00
Marcus Boerger
8479546920
- MFH Fix tests
2005-12-31 17:42:39 +00:00
Wez Furlong
131033352d
Added PDO::pgsqlLOBCreate(), PDO::pgsqlLOBOpen() and PDO::pgsqlLOBUnlink().
2005-11-29 02:11:39 +00:00
Ilia Alshanetsky
03418c1d36
Fixed test for ZTS builds
2005-10-18 00:15:02 +00:00
Ilia Alshanetsky
0823526afe
Fixed test
2005-09-22 16:24:51 +00:00
Ilia Alshanetsky
bfe844e41e
MFH: Make PDO use class constants
2005-09-20 00:35:21 +00:00
Wez Furlong
edc39221c0
if a php bolean makes it as far as the parameter callback, it must really need
...
to be boolean; express is as native pgsql 't' or 'f'.
Add a test case for Bug #33876 , which is a partially bogus bug.
2005-09-10 21:00:52 +00:00
Wez Furlong
4580a7fd8e
using new tests
2005-07-07 15:34:46 +00:00
Wez Furlong
b7459aaf7d
adopt new tests
2005-07-07 15:20:06 +00:00
Ilia Alshanetsky
c594f47f76
Fixed test skip conditions.
...
# Same needs to be done to odbc, but it seems access is restricted
# for "privileged" folks.
2005-06-21 13:42:23 +00:00
Marcus Boerger
9b3929a7e9
- Need to make PDO::__construct() final to prevent SEGV it isn't called 1st
2005-05-26 18:36:18 +00:00
Marcus Boerger
2ac0540323
- Add test for deriving PDO
2005-05-24 14:26:22 +00:00
Marcus Boerger
88157ad284
- Add new tests for PDO_FETCH_INTO
2005-05-24 12:39:09 +00:00