Skip to content

PDO pgsql and mysql drivers over pure-PHP wire protocol, FETCH_BOUND, by-ref fixes - #355

Merged
blacktrs merged 89 commits into
mainfrom
pgsql
Oct 19, 2026
Merged

blacktrs merged 89 commits into
mainfrom
pgsql

Conversation

@blacktrs

Copy link
Copy Markdown
Contributor

Summary

PDO pgsql: and mysql: drivers written in pure PHP over stream sockets (no FFI on the data path), async-aware, plus the compiler fixes the work surfaced.

Known gaps (filed, repros in tests/aot/repro)

#331 #337 #302 #303 #328 #344-#354

Testing

Focused AOT families green locally (ref, alias, byref, closure, leak, own, array, method, generator, param, unset, global, static, pdo_, bound). Owed: full suite, self-host fixpoint, Linux/amd64 gate, difftest, symfony/cs-fixer corpora, first pdo-net CI run.

Compile time of pdo_sqlite_basic.php (-O2): 10.2-11.3 s before, 10.0 s after
(stubs only; re-measure at Task 9).
…atement execution unbounded unless ATTR_TIMEOUT is set
…1 error retention and FETCH_KEY_PAIR column-count exception. Fixes #326 Fixes #327 Fixes #301
…ref param's slot when storing a reference. Fixes #341 Fixes #340
…e caller, share or copy at the callee, release boxes on unwind
…r through the class_id switch, not the holder's offset on any object (#359)
…(1153 above max_allowed_packet), as php does, not 2006
…bpq do: Nagle held reply-less COM_STMT_CLOSEs behind the delayed ACK
…come: 2006 or 1153 is a kernel race php itself loses on macOS
@blacktrs
blacktrs merged commit c16eddd into main Oct 19, 2026
13 checks passed
@blacktrs
blacktrs deleted the pgsql branch October 19, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant