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

From Christophe Pettus
Subject Re: Proposal: String key space for advisory locks
Date
Msg-id 4E959A00-93F9-4884-906A-0ABE1E79E519@thebuild.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
List pgsql-hackers
On Oct 26, 2009, at 5:24 PM, Itagaki Takahiro wrote:

> Hmmm, hashtext() returns int32. ,
> Can you reduce the collision issue if we had hashtext64()?

That would certainly reduce the chance of a collison considerably,  
assuming the right algorithm.

--
-- Christophe Pettus   xof@thebuild.com



pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: Parsing config files in a directory
Next
From: 노홍찬
Date:
Subject: Re: a question about relkind of RelationData handed over to heap_update function