Move ModifyTableContext->lockmode to UpdateContext
Alvaro Herrera <alvherre@alvh.no-ip.org>
Move ModifyTableContext->lockmode to UpdateContext Should have been done this way to start with, but I failed to notice This way we avoid some pointless initialization, and better contains the variable to exist in the scope where it is really used. Reviewed-by: Michaël Paquier <michael@paquier.xyz> Discussion: https://postgr.es/m/202204191345.qerjy3kxi3eb@alvherre.pgsql
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/nodeModifyTable.c | modified | +8 −15 |
Discussion
- minor MERGE cleanups 3 messages · 2022-04-19 → 2022-04-20