postgresql/contrib/pg_stash_advice
Robert Haas c10edb102a pg_stash_advice: Allow stashed advice to be persisted to disk.
If pg_stash_advice.persist = true, stashed advice will be written to
pg_stash_advice.tsv in the data directory, periodically and at
shutdown. On restart, stash modifications are locked out until this
file has been reloaded, but queries will not be, so there may be a
short window after startup during which previously-stashed advice is
not automatically applied.

Author: Robert Haas <rhaas@postgresql.org>
Co-authored-by: Lukas Fittl <lukas@fittl.com>
Discussion: https://postgr.es/m/CA+Tgmob87qsWa-VugofU6epuV0H5XjWZGMbQas4Q-ADKmvSyBg@mail.gmail.com
2026-04-07 10:11:36 -04:00
..
expected Add pg_stash_advice contrib module. 2026-04-06 07:41:28 -04:00
sql Add pg_stash_advice contrib module. 2026-04-06 07:41:28 -04:00
t pg_stash_advice: Allow stashed advice to be persisted to disk. 2026-04-07 10:11:36 -04:00
.gitignore Add missing .gitignore files. 2026-04-06 13:25:29 -04:00
Makefile pg_stash_advice: Allow stashed advice to be persisted to disk. 2026-04-07 10:11:36 -04:00
meson.build pg_stash_advice: Allow stashed advice to be persisted to disk. 2026-04-07 10:11:36 -04:00
pg_stash_advice--1.0.sql pg_stash_advice: Allow stashed advice to be persisted to disk. 2026-04-07 10:11:36 -04:00
pg_stash_advice.c pg_stash_advice: Allow stashed advice to be persisted to disk. 2026-04-07 10:11:36 -04:00
pg_stash_advice.control Add pg_stash_advice contrib module. 2026-04-06 07:41:28 -04:00
pg_stash_advice.h pg_stash_advice: Allow stashed advice to be persisted to disk. 2026-04-07 10:11:36 -04:00
stashfuncs.c pg_stash_advice: Allow stashed advice to be persisted to disk. 2026-04-07 10:11:36 -04:00
stashpersist.c pg_stash_advice: Allow stashed advice to be persisted to disk. 2026-04-07 10:11:36 -04:00