Re: Proposal: String key space for advisory locks

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Proposal: String key space for advisory locks
Дата
Msg-id 4AE606C8.8090300@agliodbs.com
обсуждение исходный текст
Ответ на Re: Proposal: String key space for advisory locks  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Ответы Re: Proposal: String key space for advisory locks  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Re: Proposal: String key space for advisory locks  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-hackers
> Why aren't you satisfied with hashtext('foo') ?

Collisions, mostly.

> The restriction comes from LOCKTAG struct, in which
> we can use only 3 * uint32 and 1 * uint16 for lock descriptor.

Yeah, that's a pretty hard limit.  NM, we'll have to figure out some way
around it.

--Josh Berkus



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Anonymous Code Blocks as Lambdas?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Parsing config files in a directory