Allow definition of lock mode for custom reloptions
Michael Paquier <michael@paquier.xyz>
Allow definition of lock mode for custom reloptions Relation options can define a lock mode other than AccessExclusiveMode since 47167b7, but modules defining custom relation options did not really have a way to enforce that. Correct that by extending the current API set so as modules can define a custom lock mode. Author: Michael Paquier Reviewed-by: Kuntal Ghosh Discussion: https://postgr.es/m/20190920013831.GD1844@paquier.xyz
Files
| Path | Change | +/− |
|---|---|---|
| contrib/bloom/blutils.c | modified | +4 −2 |
| src/backend/access/common/reloptions.c | modified | +12 −16 |
| src/include/access/reloptions.h | modified | +7 −4 |
Discussion
- Custom reloptions and lock modes 7 messages · 2019-09-20 → 2019-09-25