Re: Does Postgresql deadlock?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: T F <torford(at)hotmail(dot)nospam(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Does Postgresql deadlock?
Date: 2001-01-09 18:09:40
Message-ID: 200101091809.NAA18491@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Just wondering if Postgresql deadlocks. If so how does it handle them?
> Just wondering because MS SQL Server arbitrarily picks a process that is
> involved in the deadlock and kills it.

It detects them, and aborts one of the transactions.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-01-09 18:13:59 Re: COPY error: pqReadData() -- backend closed the channel unexpectedly
Previous Message Tom Lane 2001-01-09 18:09:31 Re: Re: COPY error: pqReadData() -- backend closed the channel unexpectedly