diff --git a/compute_tools/src/pg_helpers.rs b/compute_tools/src/pg_helpers.rs index 6a1377b6aa..47f64f581d 100644 --- a/compute_tools/src/pg_helpers.rs +++ b/compute_tools/src/pg_helpers.rs @@ -109,6 +109,7 @@ impl PgOptionsSerialize for GenericOptions { .map(|op| op.to_pg_setting()) .collect::>() .join("\n") + + "\n" // newline after last setting } else { "".to_string() } diff --git a/compute_tools/tests/pg_helpers_tests.rs b/compute_tools/tests/pg_helpers_tests.rs index dc1bbbdc8a..c92bb13668 100644 --- a/compute_tools/tests/pg_helpers_tests.rs +++ b/compute_tools/tests/pg_helpers_tests.rs @@ -49,7 +49,8 @@ max_replication_slots = 10 neon.timeline_id = '2414a61ffc94e428f14b5758fe308e13' shared_preload_libraries = 'neon' synchronous_standby_names = 'walproposer' -neon.pageserver_connstring = 'host=127.0.0.1 port=6400'"# +neon.pageserver_connstring = 'host=127.0.0.1 port=6400' +"# ); }