summaryrefslogtreecommitdiff
path: root/ext/pgsql/tests
Commit message (Collapse)AuthorAgeFilesLines
* No sure why this is failed in travisXinchen Hui2016-05-311-1/+1
|
* Attempt to fix tests failsXinchen Hui2016-05-313-3/+4
|
* workaround the extra new line in the test out on another envAnatol Belski2016-05-121-1/+1
|
* Fixed bug #72197 pg_lo_create arbitrary readAnatol Belski2016-05-121-0/+35
|
* Committed by accidentXinchen Hui2016-05-121-1/+1
|
* Fixed bug #72195 (pg_pconnect/pg_connect cause use-after-free)Xinchen Hui2016-05-122-1/+18
|
* Revert "Fixed bug #71820 pg_fetch_object bind parameters before call ↵Anatol Belski2016-05-091-93/+0
| | | | | | | | | constructor" This reverts commit b4eedd128ba9f61be08a50c94afd72837d7cf70b. This fixed bug #72151, and reverts the fix for bug #71820. See also bug #50636 and #49521 for the history.
* Add test for bug #72028Anatol Belski2016-04-161-0/+52
|
* Fixed #71062 pg_convert() doesn't accept ISO 8601 for datatype timestampAnatol Belski2016-04-151-0/+39
|
* Fixed bug #71998 Function pg_insert does not insert when column type = inetAnatol Belski2016-04-101-0/+196
|
* Fixed bug #71820 pg_fetch_object bind parameters before call constructorAnatol Belski2016-03-171-0/+93
| | | | | | If we want to fetch into an object of a custom class that implemens __set handler, the corstructor has to be called first. The data passed to the constructor can be possibly required in __set handler.
* Merge branch 'PHP-5.6'Remi Collet2015-06-091-1/+1
|\ | | | | | | | | | | | | * PHP-5.6: fix test description Fixed Buf #68812 Unchecked return value. Fixed Buf #68812 Unchecked return value.
| * Merge branch 'PHP-5.5' into PHP-5.6Remi Collet2015-06-091-1/+1
| |\ | | | | | | | | | | | | | | | * PHP-5.5: fix test description Fixed Buf #68812 Unchecked return value.
| | * fix test descriptionRemi Collet2015-06-091-1/+1
| | |
* | | Merge branch 'PHP-5.6'Remi Collet2015-05-201-0/+27
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: move test
| * | Merge branch 'PHP-5.5' into PHP-5.6Remi Collet2015-05-201-0/+27
| |\ \ | | |/ | | | | | | | | | * PHP-5.5: move test
| | * move testRemi Collet2015-05-201-0/+27
| | |
* | | Fixed testDmitry Stogov2015-04-081-0/+4
| | |
* | | Merge branch 'PHP-5.6'Xinchen Hui2015-02-141-0/+53
|\ \ \ | |/ / | | | | | | | | | Conflicts: ext/pgsql/pgsql.c
| * | Merge branch 'PHP-5.5' into PHP-5.6Xinchen Hui2015-02-141-0/+53
| |\ \ | | |/ | | | | | | | | | Conflicts: ext/pgsql/pgsql.c
| | * Merge branch 'PHP-5.4' of https://github.com/wfelipew/php-src into PHP-5.5Xinchen Hui2015-02-141-0/+53
| | |\
| | | * Test case Bug #68638 pg_update() fails to store infinite valuesWilliam Felipe Welter2015-02-051-0/+53
| | | |
* | | | Merge branch 'PHP-5.6'Yasuo Ohgaki2015-02-031-0/+40
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Fixed Bug #65199 pg_copy_from() modifies input array variable Conflicts: ext/pgsql/pgsql.c
| * | | Merge branch 'PHP-5.5' into PHP-5.6Yasuo Ohgaki2015-02-031-0/+40
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-5.5: Fixed Bug #65199 pg_copy_from() modifies input array variable
| | * | Fixed Bug #65199 pg_copy_from() modifies input array variableYasuo Ohgaki2015-02-031-0/+40
| | | |
* | | | fix test cleanupAnatol Belski2014-11-121-1/+7
|/ / /
* | | Merge branch 'PHP-5.5' into PHP-5.6Matteo Beccati2014-10-311-4/+6
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-5.5: Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction
| * | Added PGSQL_TEST_CONNSTR env var support for ext/pgsql testsMatteo Beccati2014-10-311-3/+6
| | |
| * | Apply pgsql notice test fixes to PHP-5.5Nikita Popov2013-08-223-2/+15
| | |
* | | Support async pgsql connections and non-blocking queriesDaniel Lowrey2014-03-175-0/+356
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - New functions (each accepts a pgsql $connection resource): . pg_connect_poll . pg_socket . pg_consume_input . pg_flush - Modified functions The following functions now additionally return zero if the underlying socket is set to non-blocking mode and the send operation does not complete immediately. Previously these functions returned only boolean TRUE/FALSE and blocked execution while polling until all data was sent: . pg_send_execute . pg_send_prepare . pg_send_query . pg_send_query_params - New constants Used with pg_connect() to initiate an asynchronous connection attempt: . PGSQL_CONNECT_ASYNC Used with pg_connection_status() to determine the current state of an async connection attempt: . PGSQL_CONNECTION_STARTED . PGSQL_CONNECTION_MADE . PGSQL_CONNECTION_AWAITING_RESPONSE . PGSQL_CONNECTION_AUTH_OK . PGSQL_CONNECTION_SSL_STARTUP . PGSQL_CONNECTION_SETENV Used with pg_connect_poll() to determine the result of an async connection attempt: . PGSQL_POLLING_FAILED . PGSQL_POLLING_READING . PGSQL_POLLING_WRITING . PGSQL_POLLING_OK . PGSQL_POLLING_ACTIVE - Polling via returned pg_socket() stream pg_socket() returns a read-only socket stream that may be cast to a file descriptor for select (and similar) polling operations. Blocking behavior of the pgsql connection socket can be controlled by calling stream_set_blocking() on the stream returned by pg_socket().
* | | Imprement FR #25854 Return value for pg_insert should be resource instead of ↵Yasuo Ohgaki2014-02-172-2/+13
| | | | | | | | | | | | bool
* | | Implement FR #41146 - Add "description" with exteneded flag pg_meta_data().Yasuo Ohgaki2014-02-172-7/+74
| | | | | | | | | | | | | | | pg_meta_data(resource $conn, string $table [, bool extended]) It also made pg_meta_data() return "is enum" always.
* | | Travis has old PostgreSQL server. Avoid test error.Yasuo Ohgaki2014-02-161-1/+2
| | |
* | | It seems travis needs ending >?Yasuo Ohgaki2014-02-161-0/+1
| | |
* | | EXPERIMENTAL flags for pg_select/pg_insert/pg_update/pg_delete are removed.Yasuo Ohgaki2014-02-169-8/+67
| | | | | | | | | | | | | | | Use string escape for exotic types that allows to handle any data types. i.e. Array, JSON, JSONB, etc will work. Add escape only query for better performance which removes meta data look up. Limitations forced by pg_convert() can be avoided with this. PGSQL_DML_ESCAPE constant is added for it.
* | | Always initialize pg_version() result array elements to prevent failed test ↵Yasuo Ohgaki2014-01-151-4/+6
| | | | | | | | | | | | with older postgresql servers. Add missing client_encoding element.
* | | Made pg_version() return full connection info.Yasuo Ohgaki2014-01-141-1/+19
| | |
* | | Remove trailing whitespace in testNikita Popov2013-08-221-1/+1
| | | | | | | | | | | | Third try to make this work...
* | | Forgot newline in testNikita Popov2013-08-221-0/+1
| | |
* | | Fix pgsql notice test failureNikita Popov2013-08-221-0/+4
| | |
* | | Revert wrong descriptionYasuo Ohgaki2013-08-204-4/+4
| | |
* | | Fixed test bugYasuo Ohgaki2013-08-201-3/+2
| | |
* | | Revise pgsql testsYasuo Ohgaki2013-08-182-1/+8
| | |
* | | Revise pgsql test filesYasuo Ohgaki2013-08-122-1/+7
| | |
* | | Revise pgsql test for Travis CIYasuo Ohgaki2013-08-111-0/+2
| | |
* | | Add 00version.phpt to get server/protocol/client version. Revise test script ↵Yasuo Ohgaki2013-08-119-8/+34
|/ / | | | | | | description
* | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-08-103-1/+5
|\ \ | |/ | | | | | | * PHP-5.4: ensure notices are not ignored when tests need them
| * ensure notices are not ignored when tests need themStanislav Malyshev2013-08-103-1/+5
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Yasuo Ohgaki2013-08-0514-34/+34
|\ \ | |/ | | | | | | * PHP-5.4: Fixed bug #62978. pg_select()/etc may allow SQL injection when table name is user parameter, users are able to control table names.
| * Fixed bug #62978. pg_select()/etc may allow SQL injection when table name is ↵Yasuo Ohgaki2013-08-0514-34/+34
| | | | | | | | user parameter, users are able to control table names.