Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GH-9344: pgsql pipeline mode proposal. #12644

Closed
wants to merge 2 commits into from

Conversation

degtyaryov
Copy link
Contributor

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.

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.
@devnexen
Copy link
Member

Looks good at first glance but I ll have a better look later today, thanks !

@devnexen
Copy link
Member

devnexen commented Nov 10, 2023

do not forget to update the pgsql stub (via build/gen_stub.php on ext/pgsql/pgsql.stub.php, after adding the new call) ;-)

Copy link
Member

@devnexen devnexen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants