Re: Locking for function creation - Mailing list pgsql-general

From Mark Morgan Lloyd
Subject Re: Locking for function creation
Date
Msg-id 45744112.96361B5B@telemetry.co.uk
Whole thread Raw
In response to Locking for function creation  (Mark Morgan Lloyd <markMLl.pgsql-general@telemetry.co.uk>)
List pgsql-general
Richard Huxton wrote:
>
> 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.

Just what I was hoping. Many thanks for your help :-)

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

pgsql-general by date:

Previous
From: "Ronin"
Date:
Subject: pgsql bug found?
Next
From: Martijn van Oosterhout
Date:
Subject: Re: pgsql bug found?