-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
Update supautils.conf.j2 | added log_replication_commands to supautils #1408
Conversation
@TheOtherBrian1 I wonder what we can do to resolve this one? Still waiting for review? |
@samrose, it's been a few weeks since I looked at this. Yeah, I'm still waiting for a review. The original ticket that prompted the PR was from an enterprise customer that was having trouble debugging their replication. With Postgres 17 coming out soon, this option can better enable users to self-manage |
@doublethink @staaldraad @darora @pcnc @olirice @soedirgo Can you take a look at this and see if you have any concerns about compliance or security leakage around enabling |
I think we are good with enabling this without too much risk. |
Also OK with enabling this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it desirable to be setting all of these at the role level?
No particular objection to allowing it, but we keep permitting config here that in a lot of cases makes more sense to set at the DB level (e.g. auto_explain, log_lock_waits, log_min_duration)
No strong preference for either approach, but setting it at the role level is marginally safer (e.g. no undesired config changes on internal roles) |
Safer, yes, but less useful (e.g. would you not want log_lock_waits set for pgrst usage?). In any case, doesn't block this particular change. |
What kind of change does this PR introduce?
supautils update
What is the current behavior?
Cannot configure
log_replication_commands
What is the new behavior?
Added
log_replication_commands
to the listAdditional context
This should work with replicas because it's set at the role level. Context: