mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-29 11:00:38 +00:00
Add neon.safekeeper_connstrings GUC
This GUC is very similar to neon.safekeepers, but instead of being formatted as host:port, it is a Postgres connection string. The purpose for changing how we connect to safekeepers is so that we can pass various libpq SSL keyword parameters in the connection string. A future PR will remove the `neon.safekeepers` GUC. Signed-off-by: Tristan Partin <tristan@neon.tech>
This commit is contained in:
@@ -111,7 +111,7 @@ pub struct ComputeSpec {
|
||||
pub endpoint_id: Option<String>,
|
||||
|
||||
/// Safekeeper membership config generation. It is put in
|
||||
/// neon.safekeepers GUC and serves two purposes:
|
||||
/// neon.safekeeper_connstrings GUC and serves two purposes:
|
||||
/// 1) Non zero value forces walproposer to use membership configurations.
|
||||
/// 2) If walproposer wants to update list of safekeepers to connect to
|
||||
/// taking them from some safekeeper mconf, it should check what value
|
||||
|
||||
@@ -85,8 +85,8 @@
|
||||
"vartype": "bool"
|
||||
},
|
||||
{
|
||||
"name": "neon.safekeepers",
|
||||
"value": "127.0.0.1:6502,127.0.0.1:6503,127.0.0.1:6501",
|
||||
"name": "neon.safekeeper_connstrings",
|
||||
"value": "host=127.0.0.1 port=6502,host=127.0.0.1 port=6503,host=127.0.0.1 port=6501",
|
||||
"vartype": "string"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user