Skip to content
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

Custom notice processing. #49

Open
torgeirsh opened this issue Sep 22, 2023 · 0 comments
Open

Custom notice processing. #49

torgeirsh opened this issue Sep 22, 2023 · 0 comments

Comments

@torgeirsh
Copy link

Notices from the server are usually printed to standard error by libpq in defaultNoticeProcessor. Some applications may want to log these notices in a different way, but postgresql-libpq seems to only offer a way to disable them with disableNoticeReporting. Could a way to override notice processing with PQsetNoticeProcessor be exposed in postgresql-libpq?

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

No branches or pull requests

1 participant