Clean up locktable init code per recent gripe from Kurt Roeckx.
Tom Lane <tgl@sss.pgh.pa.us>
Clean up locktable init code per recent gripe from Kurt Roeckx. No change in behavior, but old code would have failed to detect overrun of MAX_LOCKMODES.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/lmgr/lmgr.c | modified | +4 −2 |
| src/backend/storage/lmgr/lock.c | modified | +5 −8 |