We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3551509 commit dd42e5dCopy full SHA for dd42e5d
1 file changed
scripts/configure_spilo.py
@@ -1206,7 +1206,7 @@ def main():
1206
# Check if cpo_monitoring is enabled
1207
if 'pgnodemx' not in current_libraries.split(','):
1208
current_libraries = config['postgresql']['parameters'].get('shared_preload_libraries', '')
1209
- if current_libraries:
+ if current_libraries and 'pgnodemx' not in current_libraries.split(','):
1210
config['postgresql']['parameters']['shared_preload_libraries'] = current_libraries + ',' + 'pgnodemx'
1211
else:
1212
config['postgresql']['parameters']['shared_preload_libraries'] = 'pgnodemx'
0 commit comments