Search Postgresql Archives

Re: Named advisory locks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/06/2011 12:20 AM, Vick Khera wrote:


On Tue, Apr 5, 2011 at 2:49 PM, rihad <rihad@xxxxxxx
<mailto:rihad@xxxxxxx>> 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 ;-)

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux