Atomic ops for unlogged LSN

From: John Morris <john(dot)morris(at)crunchydata(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Stephen Frost <sfrost(at)snowman(dot)net>
Subject: Atomic ops for unlogged LSN
Date: 2023-05-23 20:24:45
Message-ID: BYAPR13MB26772534335255E50318C574A0409@BYAPR13MB2677.namprd13.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

This is a short patch which cleans up code for unlogged LSNs. It replaces the existing spinlock with
atomic ops. It could provide a performance benefit for future uses of
unlogged LSNS, but for now it is simply a cleaner implementation.

Attachment Content-Type Size
0001-Use-atomic-ops-for-unloggedLSNs.patch application/octet-stream 2.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2023-05-23 20:37:45 Re: PG 16 draft release notes ready
Previous Message Jacob Champion 2023-05-23 19:26:52 Docs: Encourage strong server verification with SCRAM