pgsql: Fix 'mmap' DSM implementation with allocations larger than 4 GB

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix 'mmap' DSM implementation with allocations larger than 4 GB
Date: 2024-02-13 19:39:49
Message-ID: E1rZydB-0063JB-IY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix 'mmap' DSM implementation with allocations larger than 4 GB

Fixes bug #18341. Backpatch to all supported versions.

Discussion: https://www.postgresql.org/message-id/18341-ce16599e7fd6228c@postgresql.org

Branch
------
REL_13_STABLE

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

Modified Files
--------------
src/backend/storage/ipc/dsm_impl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-02-13 20:58:47 pgsql: Catch overflow when rounding intervals in AdjustIntervalForTypmo
Previous Message Tom Lane 2024-02-13 17:19:42 pgsql: Use a safer outfuncs/readfuncs representation for BitStrings.