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

Catch All PostgreSQL Notices #15

Open
ondrej-bouda opened this issue Sep 27, 2017 · 0 comments
Open

Catch All PostgreSQL Notices #15

ondrej-bouda opened this issue Sep 27, 2017 · 0 comments

Comments

@ondrej-bouda
Copy link
Owner

  • Ivory catches all exceptions raised by PostgreSQL. As for notices, though, only the last notice is currently available due to the limitations of the pgsql extension.
  • Try to find a way to catch all notices raised for each statement, not just the last one.
  • E.g., consider file tracing, preferably to a memory-mapped file, and process the file asynchronously, apart from the application itself. Then, write some custom information to the log file, like the stack trace.
  • Alternatively, consider extending the pgsql extension.
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