diff --git a/templates/postgresql.conf.erb b/templates/postgresql.conf.erb index 2334501..49e10c8 100644 --- a/templates/postgresql.conf.erb +++ b/templates/postgresql.conf.erb @@ -60,6 +60,14 @@ listen_addresses = '<%= @pl_listen_address %>' port = <%= @pl_listen_port %> max_connections = <%= @pl_max_conn %> + +# - Shared Library Preloading - +<% if @pl_manage_extensions == true -%> +shared_preload_libraries = '<%= @pl_reqpackages_extensions %>' +<% else -%> +# shared_preload_libraries = '' +<% end -%> + #superuser_reserved_connections = 3 # (change requires restart) #unix_socket_directories = '/var/run/postgresql, /tmp' # comma-separated list of directories # (change requires restart) @@ -704,8 +712,6 @@ lc_time = 'en_US.UTF-8' # locale for time formatting # default configuration for text search default_text_search_config = 'pg_catalog.english' -# - Shared Library Preloading - -#shared_preload_libraries = '' # requires restart #local_preload_libraries = '' #session_preload_libraries = '' #jit_provider = 'llvmjit' # JIT library to use