Re: convert various variables to atomics

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Andres Freund <andres(at)anarazel(dot)de>, Peter Eisentraut <peter(at)eisentraut(dot)org>
Subject: Re: convert various variables to atomics
Date: 2026-07-24 11:10:35
Message-ID: CAN4CZFNb1O8rprhy_W_k-PpHLeym8WYXTrz2w=UEfXSu8shxSQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> A number of these change signed integers to unsigned integers. Maybe
> this doesn't matter in some cases, but it should be analyzed in more detail.

I only see two other places (maxMsgNum and
currentWorker/workersFinished), both seem to be a safe conversion to
me, and generally the patch looks good.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nitin Motiani 2026-07-24 11:50:03 Re: [PATCH v1] Fix propagation of indimmediate flag in index_create_copy
Previous Message Shlok Kyal 2026-07-24 10:20:00 Re: Support EXCEPT for ALL SEQUENCES publications