Re: Proposal: String key space for advisory locks - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Proposal: String key space for advisory locks
Date
Msg-id 4AE606C8.8090300@agliodbs.com
Whole thread Raw
In response to Re: Proposal: String key space for advisory locks  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Responses Re: Proposal: String key space for advisory locks
Re: Proposal: String key space for advisory locks
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Anonymous Code Blocks as Lambdas?
Next
From: Tom Lane
Date:
Subject: Re: Parsing config files in a directory