Skip to content

Conversation

marceloneppel
Copy link
Member

@marceloneppel marceloneppel commented Jan 9, 2025

Issue

The max_locks_per_transaction PostgreSQL setting is not available for users to set.

Solution

Create a config option to expose it to the users.

Port of canonical/postgresql-k8s-operator#804.

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Copy link

codecov bot commented Jan 9, 2025

Codecov Report

Attention: Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.

Project coverage is 71.82%. Comparing base (20d4597) to head (ca3bafd).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/config.py 71.42% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #718      +/-   ##
==========================================
- Coverage   71.82%   71.82%   -0.01%     
==========================================
  Files          13       13              
  Lines        3219     3226       +7     
  Branches      477      478       +1     
==========================================
+ Hits         2312     2317       +5     
- Misses        791      792       +1     
- Partials      116      117       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marceloneppel marceloneppel marked this pull request as ready for review January 10, 2025 14:24
@marceloneppel marceloneppel changed the title [DPE-5533] Add max_locks_per_transaction config option [DPE-5533] Add max_locks_per_transaction config option Jan 10, 2025
@marceloneppel marceloneppel merged commit da99280 into main Jan 14, 2025
91 checks passed
@marceloneppel marceloneppel deleted the dpe-5533-max-locks-per-transaction branch January 14, 2025 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants