Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group