Skip to content

test: cover stale schema cache database error#4937

Merged
steve-chavez merged 1 commit into
PostgREST:mainfrom
mkleczek:push-yvzkutywmkuq
May 19, 2026
Merged

test: cover stale schema cache database error#4937
steve-chavez merged 1 commit into
PostgREST:mainfrom
mkleczek:push-yvzkutywmkuq

Conversation

@mkleczek
Copy link
Copy Markdown
Collaborator

@mkleczek mkleczek commented May 18, 2026

Fixes #4916

@mkleczek mkleczek force-pushed the push-yvzkutywmkuq branch from 763f794 to 885575a Compare May 18, 2026 18:05
Comment thread test/io/test_io.py Outdated
@mkleczek mkleczek force-pushed the push-yvzkutywmkuq branch from 885575a to 32dd2ba Compare May 18, 2026 18:30
Comment thread test/io/test_io.py Outdated
Comment thread test/io/test_io.py Outdated
@mkleczek mkleczek force-pushed the push-yvzkutywmkuq branch 2 times, most recently from e305e43 to 92880c9 Compare May 19, 2026 07:52
Add an IO test that drops a table while schema cache reload is delayed. It verifies the stale cache path returns PostgreSQL 42P01 and the refreshed cache returns PGRST205.
@mkleczek mkleczek force-pushed the push-yvzkutywmkuq branch from 92880c9 to d86d6c6 Compare May 19, 2026 12:23
@steve-chavez steve-chavez merged commit 86d6ed1 into PostgREST:main May 19, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

test: db error under stale schema cache

3 participants