From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Support reloptions of enum type
Date: Thu, 26 Sep 2019 22:19:47 -0300
Message-ID: <20190927011947.GA10059@alvherre.pgsql> (raw)
In-Reply-To: <20190925234152.GA2115@paquier.xyz>
Hello, sorry I didn't notice this email.
On 2019-Sep-26, Michael Paquier wrote:
> This part from commit 773df88 is incorrect:
> + /*
> + * Set the default lock mode for this option. There is no actual way
> + * for a module to enforce it when declaring a custom relation option,
> + * so just use the highest level, which is safe for all cases.
> + */
> + newoption->lockmode = AccessExclusiveLock;
You're right, this was a merge blunder :-( Sorry about that.
> Do you mind if I apply the attached to fix the issue? Or perhaps you
> would prefer fixing the issue yourself? I noted some inconsistencies
> with the rest while on it (please see attached).
Thanks for fixing. It all looks correct to me.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@2ndquadrant.com, michael@paquier.xyz
Subject: Re: pgsql: Support reloptions of enum type
In-Reply-To: <20190927011947.GA10059@alvherre.pgsql>
References: <20190925234152.GA2115@paquier.xyz> <20190927011947.GA10059@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox