docs: surface non-Neon Postgres support and document upstream auth compatibility - #60
Merged
Conversation
Contributor
|
Claude finished @andybons's task in 2m 19s —— View job Review complete
SummaryDocs-only PR, no code changes. I verified every factual claim against the current code and it all checks out:
No security, correctness, or consistency issues found. Nothing to flag. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The Postgres data plane works with any Postgres provider via
resolver: static— only the dynamic per-branch minting is Neon-specific — but the docs leaned Neon-forward and underplayed that. This makes it discoverable and documents the one real compatibility constraint.## Using a non-Neon Postgres serversubsection (any TLS-reachable Postgres works viaresolver: staticwith a fixed password from any credential source; covers RDS, Cloud SQL, Supabase, self-hosted), with a validated config snippet. Plus a### Upstream authentication compatibilitysubsection.staticworks with any Postgres server.Upstream-auth claim — verified against code
Documented what the code actually does, not an assumption:
authenticateSCRAM(proxy/postgres.go:289-377) accepts onlyAuthenticationSASL+ theSCRAM-SHA-256mechanism; any other method (MD5, cleartext, trust) hits the default case and errors"upstream requested unsupported authentication". So it's SCRAM-SHA-256 only on the upstream leg — documented with the managed-provider guidance (RDS/Cloud SQL/Supabase/PG10+ all default to it; MD5-only/trust servers won't work).Docs-only; no code changes, no CHANGELOG bump (documents existing behavior). Config snippet validated via
gatekeeper.LoadConfig;go build/go vetpass.