> Hi,
>
> Does anyone know what the postgresql option deadlock_timeout does? I
> haven't been able to find any good docs. The config file
> (/etc/postgresql/pg_options) just says its how long to wait before deciding
> that there is a deadlock, but does this refer to idle connections or
> situations where a query is blocked waiting for a lock? I thought timing
> out idle connections might be useful in trouble shooting some postgres
> problems that we are having given that we are seeing a steadily increasing
> number of database connections. All these idle connections can't be
> helping.
I can't find that file inthe source tree, and the description is wrong.
The value is how quickly it will check for a deadlock while waiting for
a lock. It does not assume it has a deadlock because of any timeout.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026