Re: Locking entire database - Mailing list pgsql-general

From Panagiotis Pediaditis
Subject Re: Locking entire database
Date
Msg-id 46EA9E73.2030507@ics.forth.gr
Whole thread Raw
In response to Re: Locking entire database  ("Rodrigo De León" <rdeleonp@gmail.com>)
Responses Re: Locking entire database
Re: Locking entire database
List 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@ics.forth.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.
>


pgsql-general by date:

Previous
From: "Rodrigo De León"
Date:
Subject: Re: How to recover database instance from a disaster
Next
From: "Sibte Abbas"
Date:
Subject: Re: Locking entire database