Skip to content

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

Open
@EntertainmentOne

Description

@EntertainmentOne

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions