Anyone see any value in LockDisable/LockingDisabled mechanism?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Anyone see any value in LockDisable/LockingDisabled mechanism?
Дата
Msg-id 1380.998867289@sss.pgh.pa.us
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: Re: [PATCHES] Makefile.PL for Pg.so
Следующее
От: Larry Rosenman
Дата:
Сообщение: pg_dump failure, can't get data out...