Repository navigation
docs: fix quickstart samples and refresh migration notes after rc.1 soak - #109
Merged
Merged
Conversation
- quickstart: Location and unknown_column samples match the fixture and the binary, PostGIS image is 18-3.7 (also deployment and features), add the git clone step and the anonymous role caveat - README: --print-sql needs --schema.cache_path to run without a database, add the git clone step - migrating-from-postgrest: replace the stale 'names are being finalized' banner, document the max-affected and tx=rollback prerequisites, the NOT NULL requirement of a partial PUT and the PostgreSQL 16 role inheritance caveat - upgrading: old flags are rejected as unknown flag without a suggestion
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.
Found by following the README, docs/quickstart.md (including Secure setup), docs/migrating-from-postgrest.md and docs/upgrading.md literally against the v1.0.0-rc.1 linux_amd64 binary and the GHCR image, on PostgreSQL 18 with PostGIS.
Fixes
POST /postssample showedLocation: /posts/4; the fixture already has four posts, so it is/posts/5.unknown_columnsample detail isunknown column "nope" on "users".postgis/postgis:18-3.7, not16-3.4.make devis documented without saying where to run it; added thegit clonestep.anonymousrole, soCREATE ROLE anonymousfails withrole "anonymous" already existswhen the same cluster is reused. Added a note.--print-sqlwas described as working without a database; it still introspects unless--schema.cache_pathis given (cli.md already says so).Prefer: max-affectedneedshandling=strictandPrefer: tx=rollbackneedstransactions.end: *-allow-override(both silently ignored otherwise); a partialPUTstill needsNOT NULLcolumns without defaults (400 invalid_body); on PostgreSQL 16 and laterALTER ROLE authenticator INHERITdoes not change existing grants, so the schema stays empty until the grant is re-runWITH INHERIT TRUE.--server.tx_end,--rls.enabled) are rejected asunknown flagwith no suggestion, unlike keys and variables; said so.Verified as written
Every old key and
PDBR_*variable in the upgrading tables (from the v0.17.0 example config) fails with the documented new key; the old spatial spellings are400; the migration guide's anonymous role,claims.json_setting,claims.prefix,role_claim_path,limitcap, null ordering,!left,is.unknown,vnd.pgrstAccept,unfiltered_mutation, health probes at the root and OpenAPI title and server URL behave as described.