use NoLock instead of the magic number 0

From: Junwang Zhao <zhjwpku(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: use NoLock instead of the magic number 0
Date: 2022-09-01 08:18:49
Message-ID: CAEG8a3JSTCB1=yx=VKS7Fb6ebj4oa5YNPBx9y00Sc=d3x_2mjQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Inside *add_local_<>_reloption*, we should pass NoLock instead of
the magic 0 to init_<>_reloption, which makes more sense.

--
Regards
Junwang Zhao

Attachment Content-Type Size
0001-use-NoLock-instead-of-the-magic-0.patch application/octet-stream 2.3 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Junwang Zhao 2022-09-01 08:36:33 [PATCH v1] fix potential memory leak in untransformRelOptions
Previous Message John Naylor 2022-09-01 08:00:38 Re: broken table formatting in psql