On 10.08.2012 01:15, Philip Martin wrote:
> Philip Martin <philip.mar...@wandisco.com> writes:
>
>> Yes, I think so.  The process executes something like
>>
>>    pragma locking_mode = exclusive;
>>    begin exclusive transaction;
>>    commit transaction;
>>
>> and then the lock persists until the database connection is closed or
>> the process exits.
> I think it might also work with a rollback instead of a commit since
> exlusive locking mode doesn't release write locks until the database is
> closed.

You're aware that your recipe will lock out readers of the database,
too? I thought the idea was to make the repository read-only, not
inaccessible.

-- Brane

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download

Reply via email to