Re: table lock and record lock

From: Andrew Sullivan <andrew(at)libertyrms(dot)info>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: table lock and record lock
Date: 2002-10-01 20:37:10
Message-ID: 20021001163710.I25671@mail.libertyrms.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Oct 01, 2002 at 03:30:38PM -0500, John Liu wrote:
> what's the default lock in pgsql?
>
> if I issued insert(copy)/or update processed
> on the same table but on different records
> the same time, how those processes will
> affect each other?

You might want to check out the docs at

<http://developer.postgresql.org/docs/pgsql/src/tools/backend/index.html>

and

<http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/mvcc.html>

to learn the answers to these questions. There's no general answer
to your question, exactly, since you talk about insert, copy, and
update.

A

--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew(at)libertyrms(dot)info> M2P 2A8
+1 416 646 3304 x110

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message scott.marlowe 2002-10-01 21:24:07 Re: table lock and record lock
Previous Message John Liu 2002-10-01 20:30:38 table lock and record lock