Skip to content

docs: fix quickstart samples and refresh migration notes after rc.1 soak - #109

Merged
archlemon merged 1 commit into
mainfrom
docs/rc1-soak
Nov 24, 2026
Merged

archlemon merged 1 commit into
mainfrom
docs/rc1-soak

Conversation

@archlemon

@archlemon archlemon commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

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

  • quickstart: the POST /posts sample showed Location: /posts/4; the fixture already has four posts, so it is /posts/5.
  • quickstart: the unknown_column sample detail is unknown column "nope" on "users".
  • quickstart, deployment, features: the compose stack runs postgis/postgis:18-3.7, not 16-3.4.
  • README and quickstart: make dev is documented without saying where to run it; added the git clone step.
  • quickstart, Secure setup: the dev stack fixture already creates an anonymous role, so CREATE ROLE anonymous fails with role "anonymous" already exists when the same cluster is reused. Added a note.
  • README: --print-sql was described as working without a database; it still introspects unless --schema.cache_path is given (cli.md already says so).
  • migrating-from-postgrest: replaced the stale "1.0 names are being finalized" banner; Prefer: max-affected needs handling=strict and Prefer: tx=rollback needs transactions.end: *-allow-override (both silently ignored otherwise); a partial PUT still needs NOT NULL columns without defaults (400 invalid_body); on PostgreSQL 16 and later ALTER ROLE authenticator INHERIT does not change existing grants, so the schema stays empty until the grant is re-run WITH INHERIT TRUE.
  • upgrading: old flags (--server.tx_end, --rls.enabled) are rejected as unknown flag with no suggestion, unlike keys and variables; said so.
  • CHANGELOG: Unreleased, Documentation.

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 are 400; the migration guide's anonymous role, claims.json_setting, claims.prefix, role_claim_path, limit cap, null ordering, !left, is.unknown, vnd.pgrst Accept, unfiltered_mutation, health probes at the root and OpenAPI title and server URL behave as described.

- 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
@archlemon
archlemon merged commit d52573a into main Nov 24, 2026
4 checks passed
@archlemon
archlemon deleted the docs/rc1-soak branch November 24, 2026 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant