diff --git a/ansible/files/postgresql_config/conf.d/pg_net.conf b/ansible/files/postgresql_config/conf.d/pg_net.conf new file mode 100644 index 0000000000..d863cad1c8 --- /dev/null +++ b/ansible/files/postgresql_config/conf.d/pg_net.conf @@ -0,0 +1 @@ +pg_net.username = 'postgres' diff --git a/ansible/tasks/finalize-ami.yml b/ansible/tasks/finalize-ami.yml index a8531dd770..733c1ec85f 100644 --- a/ansible/tasks/finalize-ami.yml +++ b/ansible/tasks/finalize-ami.yml @@ -4,7 +4,7 @@ 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' @@ -12,6 +12,7 @@ loop: - auto_explain - pg_cron + - pg_net loop_control: loop_var: 'ext_item' diff --git a/ansible/vars.yml b/ansible/vars.yml index 4db5397b1a..5f6f980d7a 100644 --- a/ansible/vars.yml +++ b/ansible/vars.yml @@ -10,9 +10,9 @@ postgres_major: # Full version strings for each major version postgres_release: - postgresorioledb-17: "17.6.0.100-orioledb" - postgres17: "17.6.1.143" - postgres15: "15.14.1.143" + postgresorioledb-17: "17.6.0.099-orioledb-bgw-1" + postgres17: "17.6.1.142-bgw-1" + postgres15: "15.14.1.142-bgw-1" # Non Postgres Extensions pgbouncer_release: 1.25.1 diff --git a/docker/pgctld/orioledb-postgresql.conf.tmpl b/docker/pgctld/orioledb-postgresql.conf.tmpl index 13a60e8492..f494d0e32e 100644 --- a/docker/pgctld/orioledb-postgresql.conf.tmpl +++ b/docker/pgctld/orioledb-postgresql.conf.tmpl @@ -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' diff --git a/docker/pgctld/postgresql.conf.tmpl b/docker/pgctld/postgresql.conf.tmpl index 51c30f5cc8..ca07c3bc36 100644 --- a/docker/pgctld/postgresql.conf.tmpl +++ b/docker/pgctld/postgresql.conf.tmpl @@ -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' diff --git a/nix/tests/postgresql.conf.in b/nix/tests/postgresql.conf.in index 9ae301ac36..20968d7b1d 100644 --- a/nix/tests/postgresql.conf.in +++ b/nix/tests/postgresql.conf.in @@ -799,3 +799,4 @@ vault.getkey_script = '@PGSODIUM_GETKEY_SCRIPT@' auto_explain.log_min_duration = 10s cron.database_name = 'postgres' +pg_net.username = 'postgres'