Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ansible/files/postgresql_config/conf.d/pg_net.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pg_net.username = 'postgres'
3 changes: 2 additions & 1 deletion ansible/tasks/finalize-ami.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
group: 'postgres'
src: 'files/postgresql_config/postgresql-csvlog.conf'

- name: auto_explain and pg_cron confs
- name: auto_explain, pg_cron, and pg_net confs
ansible.builtin.template:
dest: "/etc/postgresql-custom/conf.d/{{ ext_item }}.conf"
group: 'postgres'
src: "files/postgresql_config/conf.d/{{ ext_item }}.conf"
loop:
- auto_explain
- pg_cron
- pg_net
loop_control:
loop_var: 'ext_item'

Expand Down
1 change: 1 addition & 0 deletions docker/pgctld/orioledb-postgresql.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ restart_after_crash = off # reinitialize after backend crash?
# Add settings for extensions here
auto_explain.log_min_duration = 10s
cron.database_name = 'postgres'
pg_net.username = 'postgres'
pgsodium.getkey_script = '/usr/lib/postgresql/bin/pgsodium_getkey.sh'
vault.getkey_script = '/usr/lib/postgresql/bin/pgsodium_getkey.sh'
wal_log_hints = 'on'
Expand Down
1 change: 1 addition & 0 deletions docker/pgctld/postgresql.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ restart_after_crash = off # reinitialize after backend crash?
# Add settings for extensions here
auto_explain.log_min_duration = 10s
cron.database_name = 'postgres'
pg_net.username = 'postgres'
pgsodium.getkey_script = '/usr/lib/postgresql/bin/pgsodium_getkey.sh'
vault.getkey_script = '/usr/lib/postgresql/bin/pgsodium_getkey.sh'
wal_log_hints = 'on'
1 change: 1 addition & 0 deletions nix/tests/postgresql.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -799,3 +799,4 @@ vault.getkey_script = '@PGSODIUM_GETKEY_SCRIPT@'

auto_explain.log_min_duration = 10s
cron.database_name = 'postgres'
pg_net.username = 'postgres'
Loading