Re: Exclusive lock for database rename

From: Jochem van Dieten <jochemd(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Exclusive lock for database rename
Date: 2005-11-05 09:47:30
Message-ID: f96a9b830511050147t312dda77p5e4fb9cc4ed94673@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/4/05, Jim C. Nasby wrote:
>
> I would argue that in cases like this (and 'this' means just about any
> DDL, for starters) that it would be better not to block everyone until
> work can actually be done. Or at least make that an option.

Would it be possible to simulate this by manually trying to grab a
lock on a relation using NOWAIT in a loop or are the locks DDL
requires different from the ones acquired by the LOCK statement?

Jochem

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2005-11-05 10:40:05 Re: Reducing the overhead of NUMERIC data
Previous Message jtv 2005-11-05 07:12:04 Old interfaces directory in CVS tree?