History log of /PHP-8.3/ext/pgsql/pgsql.c (Results 1 – 25 of 734)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 330b26e0 27-Feb-2024 Jakub Zelenka

Revert "Fix GH-13519: PGSQL_CONNECT_FORCE_RENEW with persistent connections."

This reverts commit b9a9790be0657249fa5e6687883b43570b0a3f1f.


# b9a9790b 26-Feb-2024 David Carlier

Fix GH-13519: PGSQL_CONNECT_FORCE_RENEW with persistent connections.

persistent connections did not take in account this flag, after the
usual link sanity checks, we remove its entry.

Fix GH-13519: PGSQL_CONNECT_FORCE_RENEW with persistent connections.

persistent connections did not take in account this flag, after the
usual link sanity checks, we remove its entry.

Close GH-13519

show more ...


# 452e008f 08-Feb-2024 George Barbarosie

Fix GH-13354: ext/pgsql: pg_execute, pg_send_query_params and_send_execute null value by reference.

For these, when passing null values by refence, queries return erroneous values unlike

Fix GH-13354: ext/pgsql: pg_execute, pg_send_query_params and_send_execute null value by reference.

For these, when passing null values by refence, queries return erroneous values unlike
pg_query_params behaving as expected.

close GH-13355.

show more ...


# 77ac1e85 26-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-12974: Apache crashes on shutdown when using pg_pconnect()

On ZTS, the global variables are stored in dynamically allocated memory.
When the module gets shut down this memory is r

Fix GH-12974: Apache crashes on shutdown when using pg_pconnect()

On ZTS, the global variables are stored in dynamically allocated memory.
When the module gets shut down this memory is released. After the module
is shut down, only then are the persistent resources cleared. Normally
this isn't an issue, but pgsql and odbc refer to the globals to modify
some counters, after the globals have been freed.
Fix this by guarding the modification.

Closes GH-13032.

show more ...


# d98a45d0 19-Dec-2023 David Carlier

ext/pgsql: pgsql.allow_persistent, no need to use such large type for boolean state.

also ext/odbc, simplifying odd comparison with non persistent connections.

Close GH-12976


# 3f57bd80 24-Nov-2023 ddv

Fix phpGH-12763: PGSQL pg_untrace(): Argument #1 ($connection) must be of type resource or null, PgSql\Connection given.


# 1e66e6ae 20-Nov-2023 Jakub Zelenka

Revert incomplete PG pipeline addition

Closes GH-12735


# 63898008 10-Nov-2023 Dmitriy Degtyaryov

Fix GH-9344: pgsql pipeline mode proposal.

Adding pg_send_flush_request.
Fix freeze after next execute pg_send_* on PQgetResult in _php_pgsql_link_has_results.
Set nonblocking for pi

Fix GH-9344: pgsql pipeline mode proposal.

Adding pg_send_flush_request.
Fix freeze after next execute pg_send_* on PQgetResult in _php_pgsql_link_has_results.
Set nonblocking for pipelining mode.
No flush client buffer in pg_send_* for pipelining mode.

Close GH-12644

show more ...


# 82aa4253 31-Jul-2023 Ilija Tovilo

Fix some uouv in ext/pgsql


# 7ae0273b 12-Jul-2023 Máté Kocsis

Make the $row param of pg_fetch_result(), pg_field_prtlen() and pg_field_is_null() nullable


# 21aaf332 21-Jun-2023 Remi Collet

check PQsetErrorContextVisibility availability (libpq >= 9.6)


# f194cdf8 08-Jun-2023 David CARLIER

ext/pgsql: fix PGtrace invalid free issue.

disable trace when closing the connection, is a no op if there is no stream
attached to it.

Close GH-11403


# dd8514a0 07-Jun-2023 David CARLIER

ext/pgsql: adding pg_set_error_context_visibility.

another level of context for pg_last_error/pg_result_error() to include
or not the context in those. PQSHOW_CONTEXT_ERRORS being the de

ext/pgsql: adding pg_set_error_context_visibility.

another level of context for pg_last_error/pg_result_error() to include
or not the context in those. PQSHOW_CONTEXT_ERRORS being the default.

Close GH-11395

show more ...


# d5ad7510 08-Jun-2023 George Peter Banyard

More usage of known zend_str instead of C string (#11381)


# 16a63d7b 13-May-2023 David CARLIER

ext/pgsql: php_pgsql_convert converts E_NOTICE to TypeError/ValueError exceptions.

Close GH-11238


# f31d2538 02-May-2023 David CARLIER

ext/pgsql adding PGSQL_ERRORS_SQLSTATE constant support.

Close GH-11181


# 2e0f75ec 05-May-2023 David CARLIER

ext/pgsql: pg_lo_read addressing the todo. (#11159)


# 7ec8ae12 09-Apr-2023 David Carlier

ext/pgsql: pg_trace allow to refine its trace mode via 2 new constants.

- PGSQL_TRACE_SUPPRESS_TIMESTAMPS.
- PGSQL_TRACE_REGRESS_MODE to have a more verbose and observable
output to

ext/pgsql: pg_trace allow to refine its trace mode via 2 new constants.

- PGSQL_TRACE_SUPPRESS_TIMESTAMPS.
- PGSQL_TRACE_REGRESS_MODE to have a more verbose and observable
output to check possible regressions.

Close GH-11041

show more ...


# 84c185c8 15-Apr-2023 David CARLIER

ext/pgsql: pg_cancel_query internal update.

Removing (obsolete) PGrequestCancel usage in favor of the thread-safe
PQcancel/PQfreeCancel pair.

Close GH-11081


# 6a9061e0 17-Mar-2023 David CARLIER

Fix GH-9344: pgsql pipeline mode proposal.

Adding pg_enter_pipeline_mode, pg_exit_pipeline_mode,
pg_pipeline_sync and pg_pipeline_status.

Close GH-10868


# f0149c5c 25-Apr-2023 Máté Kocsis

Fix ZPP of pg_lo_export()

Closes GH-11132


# 5adeed30 16-Mar-2023 David CARLIER

ext/psql: pg_meta_data, extended mode, fix typo for pseudo typtype.

Closes GH-10865.


# feb82d91 15-Mar-2023 David CARLIER

pgsql_insert fix unit tests (#10860)


# 394470c0 13-Mar-2023 David Carlier

php_pgsql_meta_data raises a ValueError when table name is invalid.


# 974a3d84 11-Mar-2023 David Carlier

ext/mysqli/pgsql: mysqli_fetch_object/pgsql_fetch_object raises ValueError on constructor args error.

Closes GH-10832.


12345678910>>...30