postgresql/src/include/storage
Andres Freund 156680055d bufmgr: Turn BUFFER_LOCK_* into an enum
It seems cleaner to use an enum to tie the different values together. It also
helps to have a more descriptive type in the argument to various functions.

Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>
Discussion: https://postgr.es/m/fvfmkr5kk4nyex56ejgxj3uzi63isfxovp2biecb4bspbjrze7@az2pljabhnff
2025-12-03 18:38:20 -05:00
..
.gitignore When trace_lwlocks is used, identify individual lwlocks by name. 2015-09-11 14:01:39 -04:00
aio.h aio: Fix assertion, clarify README 2025-07-22 08:30:52 -04:00
aio_internal.h aio: Stop using enum bitfields due to bad code generation 2025-08-27 19:12:11 -04:00
aio_subsys.h Fix typos and grammar in the code 2025-04-19 19:17:42 +09:00
aio_types.h aio: Fix reference to outdated name 2025-06-30 10:22:02 -04:00
barrier.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
block.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
buf.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
buf_internals.h bufmgr: Allow some buffer state modifications while holding header lock 2025-11-06 16:42:10 -05:00
buffile.h Swap order of extern/static and pg_nodiscard 2025-03-14 07:18:07 +01:00
bufmgr.h bufmgr: Turn BUFFER_LOCK_* into an enum 2025-12-03 18:38:20 -05:00
bufpage.h Remove Item type 2025-10-27 09:55:59 +01:00
bulk_write.h Update various forward declarations to use typedef 2025-09-15 11:04:10 +02:00
checksum.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
checksum_impl.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
condition_variable.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
copydir.h Sync typedefs.list with the buildfarm. 2025-06-15 13:04:24 -04:00
dsm.h Update various forward declarations to use typedef 2025-09-15 11:04:10 +02:00
dsm_impl.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
dsm_registry.h Add GetNamedDSA() and GetNamedDSHash(). 2025-07-02 11:50:52 -05:00
fd.h C11 alignas instead of unions -- extended alignments 2025-11-24 07:39:37 +01:00
fileset.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
freespace.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
fsm_internals.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
indexfsm.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
io_worker.h Fix various incorrect filename references 2025-09-22 13:33:17 +12:00
ipc.h Refactor shared memory allocation for semaphores 2025-11-06 14:45:00 +02:00
itemid.h Remove PointerIsValid() 2025-09-24 15:17:20 +02:00
itemptr.h const-qualify ItemPointer comparison functions 2025-10-30 10:13:47 +01:00
large_object.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
latch.h Split WaitEventSet functions to separate source file 2025-03-06 01:26:16 +02:00
lmgr.h Mark ItemPointer arguments as const in tuple/table lock functions 2025-08-29 07:39:58 +02:00
lock.h Integrate FullTransactionIds deeper into two-phase code 2025-07-07 12:50:40 +09:00
lockdefs.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
lwlock.h Move named LWLock tranche requests to shared memory. 2025-09-11 16:13:55 -05:00
lwlocklist.h Add infrastructure for efficient LSN waiting 2025-11-05 11:44:13 +02:00
md.h Harmonize function parameter names for Postgres 18. 2025-04-12 12:07:36 -04:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
off.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
pg_sema.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
pg_shmem.h Add support for basic NUMA awareness 2025-04-07 23:08:17 +02:00
pmsignal.h Don't use double-quotes in #include's of system headers. 2025-04-26 20:30:27 -04:00
predicate.h Mark ItemPointer arguments as const throughout 2025-10-30 14:12:06 +01:00
predicate_internals.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
proc.h Preserve conflict-relevant data during logical replication. 2025-07-23 02:56:00 +00:00
procarray.h Preserve conflict-relevant data during logical replication. 2025-07-23 02:56:00 +00:00
proclist.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
proclist_types.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
procnumber.h Fix comment for MAX_BACKENDS. 2025-02-24 15:02:09 -06:00
procsignal.h Revert function to get memory context stats for processes 2025-05-23 15:44:54 +02:00
read_stream.h read_stream: Introduce and use optional batchmode support 2025-03-30 18:36:41 -04:00
reinit.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
relfilelocator.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
s_lock.h Remove traces of support for Sun Studio compiler 2025-09-12 07:39:05 +02:00
sharedfileset.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
shm_mq.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
shm_toc.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
shmem.h Refactor shared memory allocation for semaphores 2025-11-06 14:45:00 +02:00
sinval.h Sync typedefs.list with the buildfarm. 2025-06-15 13:04:24 -04:00
sinvaladt.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
smgr.h Add missing PGDLLIMPORT markings 2025-04-11 08:59:52 +02:00
spin.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
standby.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
standbydefs.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
sync.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
waiteventset.h Fix incorrect year in some copyright notices 2025-05-19 09:46:52 +09:00