pgsql: Remove unnecessary #include "spin.h" from shmem.h

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unnecessary #include "spin.h" from shmem.h
Date: 2026-04-04 17:23:09
Message-ID: E1w94iC-002wVL-0O@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unnecessary #include "spin.h" from shmem.h

Commit 6b8238cb6a removed the last usage of slock_t from the
file. proc.c was relying the indirect #include, so add it to proc.c
directly.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fda530013282de284b1352ad310c2c53ead8ba78

Modified Files
--------------
src/include/storage/proc.h | 1 +
src/include/storage/shmem.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2026-04-04 17:50:29 pgsql: heapam: Keep buffer pins across index scan resets.
Previous Message Peter Geoghegan 2026-04-04 15:46:47 pgsql: heapam: Track heap block in IndexFetchHeapData.