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

Rework PG function guard #375

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Rework PG function guard #375

merged 1 commit into from
Oct 30, 2024

Conversation

Y--
Copy link
Collaborator

@Y-- Y-- commented Oct 30, 2024

Forked off #254

Rework the way we wrap calls to PG functions:

  • merge both flavor of PostgresFunctionGuard (returning void or not) into a single macro
  • drop the need for explicit template instantiation
  • automatically capture function name for better tracing

This PR doesn't systematically review all calls to PG functions, this will be addressed in a following one.

@Y-- Y-- requested review from JelteF and mkaruza October 30, 2024 14:54
@Y-- Y-- merged commit 79941b4 into main Oct 30, 2024
4 checks passed
@Y-- Y-- deleted the yl/pg-function-guard branch October 30, 2024 15:33
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.

2 participants