Re: please help

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Cedar Cox <cedarc(at)visionforisrael(dot)com>
Cc: Loïc Bourgeois <loic(dot)bourgeois(at)mobileway(dot)com>, pgsql-sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: please help
Date: 2001-04-09 16:01:01
Message-ID: Pine.LNX.4.30.0104091759030.1255-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Cedar Cox writes:

> It would be somewhat (very) useful to have something like this. We were
> toying with the idea of making some sort of system to figure out if a
> table is locked or not.

This will probably introduce race conditions unless done very carefully.
In theory you need a second level of locks to protect the information you
obtained regarding the "real" locks. I'm not saying it's impossible, but
20 years ago people were writing Ph.D. theses about these sort of things.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Ross J. Reedstrom 2001-04-09 16:26:51 Re: Casting numeric to text
Previous Message Peter Eisentraut 2001-04-09 15:57:45 Re: Casting numeric to text