Anyone see any value in LockDisable/LockingDisabled mechanism?

Started by Tom Laneover 24 years ago1 messageshackers
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

In current sources, lock.c's LockDisable() function is called only
for bootstrapping or if the (useless) -L backend switch is used.
I have verified that it's not needed for bootstrapping: initdb
succeeds just fine without it. Accordingly, I'm strongly tempted
to remove the function, the switch, and the tests for LockingDisabled()
in all the lock-related functions. Does anyone see a reason to
keep 'em?

regards, tom lane