From: | Masahiko Sawada <msawada(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix a calculation in TidStoreCreate(). |
Date: | 2024-03-26 04:07:05 |
Message-ID: | E1roy5Y-005hAP-Oi@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix a calculation in TidStoreCreate().
Since we expect that the max_bytes is in bytes, not in kilobytes, it
should not be multiplied by 1024.
Introduced by 30e144287a.
Reported-by: John Naylor, David Rowley
Reviewed-by: John Naylor
Discussion: https://postgr.es/m/CANWCAZZTE-14ofsucofTuhFsfuDGBNf%3DNZb22TMYT8bxA41oQQ%40mail.gmail.com
Discussion: https://postgr.es/m/CAApHDvojg82NDaDEpj1WEZSbVTafj%3DDRmW%2BFrkBdW8ScL4OFxA%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/4edb37e322a64b1c9edd7f0da6fa7cda4541a67c
Modified Files
--------------
src/backend/access/common/tidstore.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | shveta malik | 2024-03-26 04:07:48 | Re: pgsql: Track last_inactive_time in pg_replication_slots. |
Previous Message | Masahiko Sawada | 2024-03-26 03:48:57 | Re: pgsql: Add TIDStore, to store sets of TIDs (ItemPointerData) efficientl |