Re: Named advisory locks

From: rihad <rihad(at)mail(dot)ru>
To: Vick Khera <vivek(at)khera(dot)org>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Named advisory locks
Date: 2011-04-05 19:22:31
Message-ID: 4D9B6BF7.1080506@mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/06/2011 12:20 AM, Vick Khera wrote:
>
>
> On Tue, Apr 5, 2011 at 2:49 PM, rihad <rihad(at)mail(dot)ru
> <mailto:rihad(at)mail(dot)ru>> wrote:
>
> Can't do that, because I'm simply using some table's serial value as
> the lock ID, which is itself a bigint.
>
>
> So you assigned the entire namespace to the other purpose.... seems to
> be programmer's bad planning :(

Better programmers have invented refactoring ;-)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2011-04-05 19:27:27 Re: Out of memory
Previous Message Vick Khera 2011-04-05 19:20:26 Re: Named advisory locks