postgresql/contrib/pg_prewarm
Álvaro Herrera 868825aaeb
Don't include wait_event.h in pgstat.h
wait_event.h itself includes wait_event_types.h, which is a generated
file, so it's nice that we can avoid compiling >10% of the tree just
because that file is regenerated.

To avoid breaking too many third-party modules, we now #include
utils/wait_classes.h in storage/latch.h.  Then, the very common case
of doing
	WaitLatch(..., PG_WAIT_EXTENSION)
continues to work by including just storage/latch.h.  (I didn't try to
determine how many modules would actually break if we don't do this, but
this seems a convenient and low-impact measure.)

Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/202602181214.gcmhx2vhlxzp@alvherre.pgsql
2026-03-06 16:24:58 +01:00
..
expected Fix assertion failure in pg_prewarm() on objects without storage. 2025-05-29 17:50:32 +09:00
sql Fix assertion failure in pg_prewarm() on objects without storage. 2025-05-29 17:50:32 +09:00
t Update copyright for 2026 2026-01-01 13:24:10 -05:00
.gitignore Add a regression test for contrib/pg_prewarm. 2022-08-01 17:59:44 -04:00
autoprewarm.c Don't include wait_event.h in pgstat.h 2026-03-06 16:24:58 +01:00
Makefile Fix assertion failure in pg_prewarm() on objects without storage. 2025-05-29 17:50:32 +09:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_prewarm--1.0--1.1.sql Update pg_prewarm extension for parallel query. 2016-06-09 17:18:18 -04:00
pg_prewarm--1.1--1.2.sql pg_prewarm: Add automatic prewarm feature. 2017-08-21 14:17:39 -04:00
pg_prewarm--1.1.sql Update pg_prewarm extension for parallel query. 2016-06-09 17:18:18 -04:00
pg_prewarm.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_prewarm.control pg_prewarm: Add automatic prewarm feature. 2017-08-21 14:17:39 -04:00