Re: Shared row locking
| От | Tom Lane |
|---|---|
| Тема | Re: Shared row locking |
| Дата | |
| Msg-id | 27631.1104431813@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Shared row locking (Manfred Koizar <mkoi-pg@aon.at>) |
| Ответы |
Re: Shared row locking
|
| Список | pgsql-hackers |
Manfred Koizar <mkoi-pg@aon.at> writes:
> So the question is whether starting by making nbtree more flexible isn't
> the lower hanging fruit...
Certainly not; indexes depend on locks, not vice versa. You'd not be
able to do that without introducing an infinite recursion into the
system design. In any case nbtree is much more heavyweight than we need
for this --- the lock table does not want WAL support for example, nor
REINDEX/VACUUM, nor support for arbitrary index lookup conditions, nor
even multiple datatypes or multiple index columns.
regards, tom lane
В списке pgsql-hackers по дате отправления: