PG16 to PG17 recording drift

Copy Markdown View Source

Scenarios re-recorded when the test server moved from postgres:16 to supabase/postgres:17.6.1.131. One row per scenario.

The hint rows come from supautils (Supabase Postgres, loaded through session_preload_libraries), not from upstream PostgreSQL 17: the text is in supautils.so and absent from the postgres binary.

ScenarioDifference
rls/anon-insert42501 error hint is now Grant the required privileges ... GRANT INSERT ON ... TO anon;
rls/private-docs-anon42501 error hint is now Grant the required privileges ... GRANT SELECT ON ... TO anon;
rls/private-docs-authenticated42501 error hint is now the GRANT SELECT hint for authenticated
authorization/anon-insert42501 error hint is now the GRANT INSERT hint for anon
authorization/private-docs-anon42501 error hint is now the GRANT SELECT hint for anon
authorization/private-docs-authenticated42501 error hint is now the GRANT SELECT hint for authenticated
errors/denied-table-valid-filter42501 error hint is now the GRANT SELECT hint for anon

PgRest builds these denials itself and does not reproduce the hint. The seven scenarios set ignore_error_hint: true, which drops only the hint member when PgRest is compared; see docs/guides/compatibility.md.