Re: Custom reloptions and lock modes
Kuntal Ghosh <kuntalghosh.2007@gmail.com>
From: Kuntal Ghosh <kuntalghosh.2007@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>,
Nikolay Shaplov <dhyan@nataraj.su>
Date: 2019-09-20T07:10:51Z
Lists: pgsql-hackers
On Fri, Sep 20, 2019 at 12:38 PM Michael Paquier <michael@paquier.xyz> wrote: > > > One small thing: > > > > add_int_reloption(bl_relopt_kind, buf, > > "Number of bits generated for each index column", > > - DEFAULT_BLOOM_BITS, 1, MAX_BLOOM_BITS); > > + DEFAULT_BLOOM_BITS, 1, MAX_BLOOM_BITS, > > + AccessExclusiveLock); > > Do we need a comment to explain why we're using AccessExclusiveLock in > > this case? > > Because that's the safest default to use here? That seemed obvious to > me. Okay. Sounds good. -- Thanks & Regards, Kuntal Ghosh EnterpriseDB: http://www.enterprisedb.com
Commits
-
Allow definition of lock mode for custom reloptions
- 69f94108079d 13.0 landed
-
Fix failure with lock mode used for custom relation options
- 98b5c3785296 9.6.16 landed
- d48168003784 10.11 landed
- d01d4f23742b 11.6 landed
- 707f38e38e8d 12.0 landed
- 736b84eede6c 13.0 landed