Anyone see any value in LockDisable/LockingDisabled mechanism?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Anyone see any value in LockDisable/LockingDisabled mechanism?
Date: 2001-08-26 23:08:09
Message-ID: 1380.998867289@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2001-08-27 00:13:54 pg_dump failure, can't get data out...
Previous Message Peter Wiley 2001-08-26 22:48:52 JDBC changes for 7.2 - wish list item