Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix pgsql use after free trying to reuse closed connection | Nikita Popov | 2019-04-10 | 1 | -0/+1 |
| | | | | | | | | | | | When a connection is closed, we also need to remove the hash entry from the regular_list, as it now points to freed memory. To do this store a reverse mapping from the connection to the hash string. It would be nicer to introduce a wrapping structure for the pgsql link resource that could store the hash (and notices), but that would require large changes to the extension, so I'm going for a more minimal fix here. | ||||
* | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | |||||
* | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | Merge branch 'PHP-7.0' | Nikita Popov | 2016-03-03 | 1 | -1/+1 |
|\ | |||||
| * | Move semicolon into TSRMLS_CACHE_EXTERN/DEFINE | Nikita Popov | 2016-03-03 | 1 | -1/+1 |
| | | | | | | | | Also re bug #71575. | ||||
* | | Merge branch 'PHP-7.0' | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | | | | | * PHP-7.0: Update header to PHP Version 7 Happy new year (Update copyright to 2016) Happy new year (Update copyright to 2016) | ||||
| * | Merge branch 'PHP-5.6' into PHP-7.0 | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016) | ||||
| | * | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
| | | | |||||
| | * | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | | | |||||
* | | | Improve FR #48532 implementation (Allow pg_fetch_all() to index numerically). | Yasuo Ohgaki | 2015-12-18 | 1 | -3/+2 |
| | | | | | | | | | | | | Made result type option be consistent with pg_fetch_row(). | ||||
* | | | Implemented FR #48532 (Allow pg_fetch_all() to index numerically). | Yasuo Ohgaki | 2015-12-17 | 1 | -2/+2 |
|/ / | |||||
* | | switch to the unified globals accessor where appropriate | Anatol Belski | 2015-07-29 | 1 | -6/+2 |
| | | |||||
* | | cleanup mod version macros and mod defs, round x | Anatol Belski | 2015-03-23 | 1 | -0/+3 |
| | | |||||
* | | made ZEND_TSRMLS_CACHE_* macros look like function calls | Anatol Belski | 2015-02-16 | 1 | -1/+1 |
| | | | | | | | | which also comply with the current semantics for such macros | ||||
* | | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | | |||||
* | | first shot remove TSRMLS_* things | Anatol Belski | 2014-12-13 | 1 | -14/+14 |
| | | |||||
* | | converted ext/ereg, ext/phar and ext/pgsql for static tsrmls usage | Anatol Belski | 2014-10-16 | 1 | -1/+4 |
| | | |||||
* | | s/PHP 5/PHP 7/ | Johannes Schlüter | 2014-09-19 | 1 | -1/+1 |
| | | |||||
* | | master renames phase 1 | Anatol Belski | 2014-08-25 | 1 | -9/+9 |
| | | |||||
* | | ported ext/pgsql | Anatol Belski | 2014-08-19 | 1 | -9/+9 |
| | | |||||
* | | Refactoring ext/pgsql (incompleted, only compilable) | Xinchen Hui | 2014-05-19 | 1 | -5/+5 |
|/ | |||||
* | Support async pgsql connections and non-blocking queries | Daniel Lowrey | 2014-03-17 | 1 | -0/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 Ohgaki | 2014-02-17 | 1 | -0/+3 |
| | | | | bool | ||||
* | Implement FR #41146 - Add "description" with exteneded flag pg_meta_data(). | Yasuo Ohgaki | 2014-02-17 | 1 | -1/+1 |
| | | | | | pg_meta_data(resource $conn, string $table [, bool extended]) It also made pg_meta_data() return "is enum" always. | ||||
* | EXPERIMENTAL flags for pg_select/pg_insert/pg_update/pg_delete are removed. | Yasuo Ohgaki | 2014-02-16 | 1 | -0/+1 |
| | | | | | 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. | ||||
* | Merge branch 'PHP-5.5' into PHP-5.6 | Yasuo Ohgaki | 2014-02-15 | 1 | -1/+1 |
|\ | |||||
| * | Refactor and cleanup. WS is cleaned up. Use -b if it is needed. | Yasuo Ohgaki | 2014-02-15 | 1 | -1/+1 |
| | | | | | | | | Added compatibility macros, PQescapeStringConn, PGSQLescapeLiteral/Identifier, PGSQLfree. | ||||
* | | Merge branch 'PHP-5.5' into PHP-5.6 | Lior Kaplan | 2014-02-14 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | a few typofixes | Veres Lajos | 2014-02-14 | 1 | -1/+1 |
| | | |||||
| * | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 |
| | | |||||
| * | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | | |||||
| * | add pg_escape_identifier/pg_escape_literal | Yasuo Ohgaki | 2012-04-19 | 1 | -0/+2 |
| | | |||||
| * | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | | |||||
* | | Added pg_lo_truncate() and 64bit large object support from PostgreSQL 9.3 and up | Yasuo Ohgaki | 2014-01-15 | 1 | -0/+3 |
| | | |||||
* | | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 |
| | | |||||
* | | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | | |||||
* | | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | | |||||
* | | add pg_escape_identifier/pg_escape_literal | Yasuo Ohgaki | 2011-11-25 | 1 | -0/+2 |
|/ | |||||
* | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 |
| | |||||
* | sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-03 | 1 | -1/+1 |
| | |||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) | Dmitry Stogov | 2008-01-30 | 1 | -1/+5 |
| | |||||
* | MFH: Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 |
| | |||||
* | MFH: Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 |
| | |||||
* | MFH: Added pg_field_table() as per req: #36750 | Edin Kadribasic | 2006-05-07 | 1 | -0/+1 |
| | |||||
* | bump year and license version | foobar | 2006-01-01 | 1 | -3/+3 |
| | |||||
* | - Bumber up year | foobar | 2005-08-03 | 1 | -1/+1 |
| | |||||
* | Added pg_fetch_all_columns() function to fetch all values of a column from | Ilia Alshanetsky | 2005-07-08 | 1 | -0/+1 |
| | | | | | a result cursor. | ||||
* | - MFH43: Fixed bug #32699 (pg_affected_rows() was defined when it was not | Derick Rethans | 2005-04-13 | 1 | -0/+2 |
| | | | | | available). | ||||
* | Tweak some #if's to be more orthogonal. | Christopher Kings-Lynne | 2005-03-22 | 1 | -0/+3 |
| | | | | | | | | | (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 |