Skip to content

Add PQERRORS_SQLSTATE enum to type Verbosity #77

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

taimoorzaeem
Copy link
Contributor

Reopening this after previous unintentional merge which was reverted

PostgreSQL supports PQERRORS_SQLSTATE (see PGVerbosity) value for error verbosity. This is missing in the current Verbosity type. This is required for implementing PostgREST/postgrest#4088 (comment).

In libpq this was added in the following commit and here is the discussion. I am still not sure what version of libpq this was released in.

@taimoorzaeem
Copy link
Contributor Author

In libpq this was added in the following commit and [...]

I checkout this commit and at that time the major version was 12, so at max it should be released in version 13. So, it doesn't seem like breaking change.

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

Successfully merging this pull request may close these issues.

1 participant