Re: Locking for function creation

From: Richard Huxton <dev(at)archonet(dot)com>
To: Mark Morgan Lloyd <markMLl(dot)pgsql-general(at)telemetry(dot)co(dot)uk>
Cc: pgsql-general(at)PostgreSQL(dot)org
Subject: Re: Locking for function creation
Date: 2006-12-04 15:29:42
Message-ID: 45743EE6.9010606@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mark Morgan Lloyd wrote:
>
> If I might ask a related question- assuming that a client has grabbed a
> restrictive lock during a transaction that e.g. is create/replacing functions,
> what happens to other sessions that attempt to run a select or update- will they
> fail (i.e. an implicit NOWAIT) or will they wait until the lock is released?
> Does this vary depending on whether a select/update is within an explicit
> transaction?

They will wait without an explicit NOWAIT. This applies whether the
transaction is explicit or implicit.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mark Morgan Lloyd 2006-12-04 15:38:58 Re: Locking for function creation
Previous Message Timasmith 2006-12-04 15:18:44 getting index columns from information_schema?