1. PostgreSQL 16 Documentation, Chapter 20. Server Configuration, Section 20.4.1. Memory.
On sharedbuffers: "Sets the amount of memory the database server uses for shared memory buffers. The default is typically 128 megabytes (128MB)... This is the single most effective setting for improving performance..." This section explicitly defines its purpose as a cache for disk blocks.
On workmem: "Specifies the base maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files." This confirms workmem is for sorting, distinguishing it from sharedbuffers.
2. PostgreSQL 16 Documentation, Chapter 20. Server Configuration, Section 20.5.1. Settings.
On walbuffers: "Sets the amount of shared memory used for WAL data that has not yet been written to disk." This confirms a separate buffer exists for WAL data.
3. PostgreSQL 16 Documentation, Chapter 20. Server Configuration, Section 20.4.2. Connection and Authentication.
On maxconnections: "Determines the maximum number of concurrent connections to the database server." This confirms connection management is separate from sharedbuffers.