mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-05-16 13:46:42 +00:00
doc(pg): update postgres and psql docs
This commit is contained in:
@@ -5,6 +5,8 @@ tagline: |
|
||||
PostgreSQL: The World's Most Advanced Open Source Relational Database.
|
||||
---
|
||||
|
||||
TODO
|
||||
|
||||
To update or switch versions, run `webi postgres@stable` (or `@v10`, `@beta`,
|
||||
etc).
|
||||
|
||||
@@ -47,7 +49,7 @@ To login: \
|
||||
# as Postgres admin
|
||||
psql "postgres://postgres:postgres@localhost:5432/postgres"
|
||||
|
||||
# as remote user
|
||||
# as remote user (over standard TLS and SNI, with ALPN set to 'postgresql')
|
||||
psql "postgres://db-xxxx@pg-1.example.com:5432/db-xxxx?sslmode=require&sslnegotiation=direct"
|
||||
```
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ psql "postgres://db-xxxx:secret123@pg-1.example.com:5432/db-xxxx"
|
||||
```
|
||||
|
||||
For remote / public networks: \
|
||||
(with `sslmode` & `sslnegotiation`)
|
||||
(with `sslmode` & `sslnegotiation` for standard TLS and SNI, with ALPN set to 'postgresql')
|
||||
|
||||
```sh
|
||||
psql "postgres://db-xxxx@pg-1.example.com:5432/db-xxxx?sslmode=require&sslnegotiation=direct"
|
||||
|
||||
Reference in New Issue
Block a user