-
Notifications
You must be signed in to change notification settings - Fork 7.9k
pg_pconnect with flags: PGSQL_CONNECT_FORCE_NEW returns the same connection #13519
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
Labels
Comments
Yes persistent connection does not take in account the flag indeed. |
devnexen
added a commit
to devnexen/php-src
that referenced
this issue
Feb 26, 2024
persistent connections did not take in account this flag, after the usual link sanity checks, we remove its entry.
devnexen
added a commit
to devnexen/php-src
that referenced
this issue
Feb 26, 2024
persistent connections did not take in account this flag, after the usual link sanity checks, we remove its entry.
devnexen
added a commit
to devnexen/php-src
that referenced
this issue
Feb 26, 2024
persistent connections did not take in account this flag, after the usual link sanity checks, we remove its entry.
devnexen
added a commit
to devnexen/php-src
that referenced
this issue
Feb 27, 2024
This reverts commit 5941cda.
devnexen
added a commit
to devnexen/php-src
that referenced
this issue
Feb 27, 2024
…nnections." This reverts commit b9a9790.
bukka
added a commit
that referenced
this issue
Feb 27, 2024
devnexen
added a commit
that referenced
this issue
Feb 27, 2024
bukka
added a commit
that referenced
this issue
Feb 27, 2024
saundefined
pushed a commit
that referenced
this issue
Feb 28, 2024
devnexen
added a commit
to devnexen/php-src
that referenced
this issue
Feb 28, 2024
devnexen
added a commit
to devnexen/php-src
that referenced
this issue
Apr 27, 2024
devnexen
added a commit
that referenced
this issue
Apr 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The documentation for
pg_pconnect
states the following:However this does not seem to be correct. While
pg_connect
does return separate connections when thePGSQL_CONNECT_FORCE_NEW
flag is used, this is not the case withpg_pconnect
as the following test case shows.Test case:
Output:
PHP Version
PHP 8.2.13, PHP 8.3.3
Operating System
Debian 11 (bullseye), Debian 12 (bookworm)
The text was updated successfully, but these errors were encountered: