Skip to content

Feature Request: Add SQLSTATE return when the pg_connect() failed to the error text #18334

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

Closed
EntertainmentOne opened this issue Apr 16, 2025 · 1 comment

Comments

@EntertainmentOne
Copy link

Description

Now, we only get the string desprection, no SQLSTATE.
I must get the SQLSTATE to handle the errors,
Caused by the pg_connect() returns false, I cannot get SQLSTATE by general methods.
Please add this feature to pgsql extension.

@EntertainmentOne
Copy link
Author

Guys, idk i submited, i think it wasnt redirect me to this page, i guess the shit github timed out

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

No branches or pull requests

1 participant