-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
fix(PgSQL): Allow to pass IPv6 address in URI notation for postgres #6344
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
Conversation
Thank you for your PR. Please note that we don't merge code changes that are not covered by tests. Is the 3.8.x branch also affected by this bug? If so, please target the 3.8.x branch. |
9159548
to
2f9e58c
Compare
I have added a test now.
Yes, changed the target. |
2f9e58c
to
b96a51d
Compare
The Psalm failure is related to your changes. |
b96a51d
to
2360331
Compare
Should be fixed now |
There hasn't been any activity on this pull request in the past 90 days, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days. |
@derrabus anything I can help with? |
Sorry for the delay. I forgot about this one. 😓 |
b2e180b
to
a81d076
Compare
There hasn't been any activity on this pull request in the past 90 days, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days. |
This pull request was closed due to inactivity. |
There hasn't been any activity on this pull request in the past 90 days, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PHPCS and PHPStan need some attention. I can look into this.
a81d076
to
69eee11
Compare
Also noticed it and fixed the reported issues, thank you! |
670dbd0
to
c5bc9b2
Compare
Co-authored-by: Ferdinand Thiessen <[email protected]> Co-authored-by: Alexander M. Turek <[email protected]> Signed-off-by: Ferdinand Thiessen <[email protected]>
c5bc9b2
to
ded6a5c
Compare
* 3.9.x: Bump dev tools (doctrine#7002) fix(PgSQL): Allow to pass IPv6 address in URI notation for postgres (doctrine#6344) Run tests on MySQL 9.3 instead of 9.1 (doctrine#7001) CI MariaDB: add 11.8 (doctrine#6991)
* 4.2.x: Ignore new PHPStan errors Bump dev tools (doctrine#7002) fix(PgSQL): Allow to pass IPv6 address in URI notation for postgres (doctrine#6344) Run tests on MySQL 9.3 instead of 9.1 (doctrine#7001) CI MariaDB: add 11.8 (doctrine#6991)
* 4.3.x: phpunit/phpunit (11.5.15 => 11.5.23) (doctrine#7006) Deprecate support for MariaDB 10.5 (doctrine#7000) Fix new and previously ignored PHPStan errors Ignore new PHPStan errors Bump dev tools (doctrine#7002) fix(PgSQL): Allow to pass IPv6 address in URI notation for postgres (doctrine#6344) Run tests on MySQL 9.3 instead of 9.1 (doctrine#7001) CI MariaDB: add 11.8 (doctrine#6991)
Summary
Allow to pass IPv6 address of postgres server in URI notation (
[ff:aa:...]
).When the host is passed in URI format to
host
parameter ofpg_connect
it will fail because it then tries to resolve it as when it was a real host name.Instead just pass the IP address to the
hostaddr
parameter.