mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 21:42:56 +00:00
A set of changes to enable neon to work in IPv6 environments. The changes are backward-compatible but allow to deploy neon even to IPv6-only environments: - bind to both IPv4 and IPv6 interfaces - allow connections to Postgres from IPv6 interface - parse the address from control plane that could also be IPv6
10 lines
553 B
Rust
10 lines
553 B
Rust
pub const DEFAULT_LOG_LEVEL: &str = "info";
|
|
// From Postgres docs:
|
|
// To ease transition from the md5 method to the newer SCRAM method, if md5 is specified
|
|
// as a method in pg_hba.conf but the user's password on the server is encrypted for SCRAM
|
|
// (see below), then SCRAM-based authentication will automatically be chosen instead.
|
|
// https://www.postgresql.org/docs/15/auth-password.html
|
|
//
|
|
// So it's safe to set md5 here, as `control-plane` anyway uses SCRAM for all roles.
|
|
pub const PG_HBA_ALL_MD5: &str = "host\tall\t\tall\t\tall\t\tmd5";
|