Anyone see any value in LockDisable/LockingDisabled mechanism? - Mailing list pgsql-hackers

From Tom Lane
Subject Anyone see any value in LockDisable/LockingDisabled mechanism?
Date
Msg-id 1380.998867289@sss.pgh.pa.us
Whole thread Raw
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Larry Rosenman
Date:
Subject: Re: Re: [PATCHES] Makefile.PL for Pg.so
Next
From: Larry Rosenman
Date:
Subject: pg_dump failure, can't get data out...