Re: Improve LWLock tranche name visibility across backends - Mailing list pgsql-hackers

From Sami Imseih
Subject Re: Improve LWLock tranche name visibility across backends
Date
Msg-id CAA5RZ0va93+wk3_6UYi52=b=xqbKtXvaM-Cj5moTir7nM-LA=Q@mail.gmail.com
Whole thread Raw
In response to Re: Improve LWLock tranche name visibility across backends  (Sami Imseih <samimseih@gmail.com>)
List pgsql-hackers
>> I am not sure we need to do anything about this.
>
>
> Or maybe we just avoid the tranche_id from leaking
> in test_dsa_resowners() by making it a static variable
> and checking if we have a valid tranche id before calling
> LWLockNewTrancheId()? That is the proper pattern.

Like the attached.

--
Sami

Attachment

pgsql-hackers by date:

Previous
From: Álvaro Herrera
Date:
Subject: psql --help=variables missing csv_fieldsep
Next
From: Jacob Champion
Date:
Subject: Re: test_json_parser/002_inline is kind of slow