Re: Locking entire database

From: Panagiotis Pediaditis <pped(at)ics(dot)forth(dot)gr>
To: Rodrigo De León <rdeleonp(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Locking entire database
Date: 2007-09-14 14:45:07
Message-ID: 46EA9E73.2030507@ics.forth.gr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Well the problem is I am working on rdf query engine for persistent RDF
data. The data is stored/structured in a specific way in the database.
When i perform updates in parallel, because there are cross table
dependencies, I end up with inconsistencies, For example One transaction
reads to see if there is a resource so as to add a property where it is
a subject. Then an other transaction deletes the resource after the
first has decided that the resource is there but before it added the
property.
Thus it would be helpful for me to avoid the difficult task of
dependency based locking and just lock the whole database.
any ideas?

Rodrigo De León wrote:
> On 9/14/07, Panagiotis Pediaditis <pped(at)ics(dot)forth(dot)gr> wrote:
>
>> ... there is a specific case where i need it.
>>
>
> Don't really know, but, explain what the case is, and maybe someone
> could help you.
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sibte Abbas 2007-09-14 14:48:05 Re: Locking entire database
Previous Message Bruce Momjian 2007-09-14 14:32:21 Re: documentation patch for LDAP service lookup