Skip to content

add: dump schema cache after reload - #5082

Open
mkleczek wants to merge 3 commits into
PostgREST:mainfrom
mkleczek:push-wpsklvromovq
Open

mkleczek wants to merge 3 commits into
PostgREST:mainfrom
mkleczek:push-wpsklvromovq

Conversation

@mkleczek

@mkleczek mkleczek commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Make PostgREST write a schema cache dump after each reload, so that later on it can load it on startup via a schema cache URI. This simplifies setup for fast restarts and scale-to-zero configurations.

This is a #5031 follow-up.

@mkleczek
mkleczek marked this pull request as draft July 8, 2026 15:36
@mkleczek
mkleczek force-pushed the push-wpsklvromovq branch 4 times, most recently from a2e1382 to eba4f24 Compare July 9, 2026 05:27
@mkleczek
mkleczek marked this pull request as ready for review July 9, 2026 12:04
@mkleczek
mkleczek force-pushed the push-wpsklvromovq branch 5 times, most recently from 6f375ab to 3a1201f Compare July 20, 2026 05:29
@mkleczek
mkleczek force-pushed the push-wpsklvromovq branch 3 times, most recently from 971004c to 1db258a Compare July 25, 2026 12:01
@mkleczek
mkleczek force-pushed the push-wpsklvromovq branch from 1db258a to 1c08b3c Compare July 26, 2026 06:05
mkleczek added 2 commits July 26, 2026 17:55
PostgREST now writes a schema cache dump after each reload and can load it on startup via a schema cache URI. This simplifies setup for fast restarts and scale-to-zero configurations.
@mkleczek
mkleczek force-pushed the push-wpsklvromovq branch from 1c08b3c to 3791003 Compare July 26, 2026 15:56
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.

1 participant