Skip to content

[pull] master from php:master#844

Merged
pull[bot] merged 2 commits into
dolfly:masterfrom
php:master
Jun 22, 2026
Merged

[pull] master from php:master#844
pull[bot] merged 2 commits into
dolfly:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Jun 22, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

iliaal added 2 commits June 22, 2026 06:50
…nvert

pgsqlCopyFromArray() feeds each row through try_convert_to_string(). A
non-stringable row throws a TypeError, but both the array and iterator
branches then called pdo_pgsql_error() and recorded a fabricated
PGRES_FATAL_ERROR, leaving PDO::errorInfo() reporting "HY000" for what is
a client-side type error. Return through the pending exception instead of
overwriting the driver error state.

Closes GH-22384
* PHP-8.5:
  pdo_pgsql: preserve the pending exception when a COPY row fails to convert
@pull pull Bot locked and limited conversation to collaborators Jun 22, 2026
@pull pull Bot added the ⤵️ pull label Jun 22, 2026
@pull pull Bot merged commit 52cc923 into dolfly:master Jun 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant