Skip site navigation (1) Skip section navigation (2)

Re: Strange locking choices in pg_shdepend.c

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Decibel! <decibel(at)decibel(dot)org>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Strange locking choices in pg_shdepend.c
Date: 2008-01-28 20:29:20
Message-ID: 6583.1201552160@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Decibel! <decibel(at)decibel(dot)org> writes:
> Would it be worthwhile to allow for logging when a lock gets upgraded?
> That would make it easier to protect against deadlocks...

There is some debug code for that in the backend, but my experience
is that it's too noisy to have on by default.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2008-01-28 20:40:20
Subject: Re: Friendly help for psql
Previous:From: Tom LaneDate: 2008-01-28 20:20:59
Subject: Re: [PATCHES] Friendly help for psql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group