-
-
Notifications
You must be signed in to change notification settings - Fork 999
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
Transaction-Scoped Settings are unclear on the logs #3019
Comments
I've been working in this and noticed these cases:
E.g. Aside from those the rest are hardcoded directly. Not sure about the second case but the first is a no-go. Would it be OK to leave those parameterized while the others are not? The problem of unclear logs may persist/aggravate that way. Or maybe do not apply this if there's legacy GUCs? Still not convinced about the second case, though. |
@laurenceisla Re
These could use some light escaping on our side. But how about leaving them for a second iteration? I think first we can get rid of legacy gucs and clarify the hardcoded settings. |
In case anyone else stumbles on this - this change breaks support for the old 'request.jwt.claim.jti'. The new syntax can be seen here: https://postgrest.org/en/v12/references/auth.html#custom-validation |
@gmichalec-pandora You're right, thank you. We made the clarification on #3287 |
Problem
Transaction-Scoped Settings show on the logs as:
Details do show the parameters:
But this level of verbosity is not always enabled. Also they're not clear in
pg_stat_statements
.Solution
The first parameter of the
set_config
doesn't need to be parametrized, as it's always defined by us.So we can convert them to:
The text was updated successfully, but these errors were encountered: