doc(pg): update postgres and psql docs

This commit is contained in:
AJ ONeal
2026-05-07 03:38:33 -06:00
parent db312a98fc
commit 2617520555
2 changed files with 4 additions and 2 deletions

View File

@@ -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"
```

View File

@@ -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"