X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 7F14ED1CCAE; Wed, 28 Jan 2004 17:38:58 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 02169-03; Wed, 28 Jan 2004 13:38:28 -0400 (AST) Received: from www.postgresql.com (www.postgresql.com [200.46.204.209]) by svr1.postgresql.org (Postfix) with ESMTP id 13570D1DAB5; Wed, 28 Jan 2004 13:35:31 -0400 (AST) Received: from ucsns.ucs.co.za (ucs.co.za [196.23.43.2]) by www.postgresql.com (Postfix) with ESMTP id 8B457CF6B2D; Wed, 28 Jan 2004 10:33:02 -0400 (AST) Received: from localhost (localhost.localdomain [127.0.0.1]) by ucsns.ucs.co.za (Postfix) with ESMTP id E687D2BFDF; Wed, 28 Jan 2004 15:29:12 +0200 (SAST) Received: from ucsns.ucs.co.za ([127.0.0.1]) by localhost (ucsns.ucs.co.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02908-08; Wed, 28 Jan 2004 15:29:01 +0200 (SAST) Received: from ucspost.ucs.co.za (mailgw1.ucs.co.za [196.23.43.253]) by ucsns.ucs.co.za (Postfix) with ESMTP id A91F12BE61; Wed, 28 Jan 2004 12:12:17 +0200 (SAST) Received: from jhb.ucs.co.za (jhb.ucs.co.za [172.31.1.3]) by ucspost.ucs.co.za (Postfix) with ESMTP id E2BB3D9E9F; Wed, 28 Jan 2004 12:12:17 +0200 (SAST) Received: from svb.ucs.co.za (svb.ucs.co.za [172.31.1.148]) by jhb.ucs.co.za (Postfix) with SMTP id B9652973EC; Wed, 28 Jan 2004 12:12:16 +0200 (SAST) Date: Wed, 28 Jan 2004 12:12:17 +0200 From: Stef To: pg-perform Cc: pgsql-sql@postgresql.org Subject: Re: postgres timeout. Message-Id: <20040128121217.2e4aceef.svb@ucs.co.za> In-Reply-To: <20040128121109.02f554e6.svb@ucs.co.za> References: <20040128121109.02f554e6.svb@ucs.co.za> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-pc-linux-gnu) User-Agent: sillypheed-claws (anti-aliased) X-Face: GFoC95e6r)_TTG>n~=uFLojP=O~4W@Ms]>:.DMm/')(z3\Mwj^XP@? Q:3";lD.OM1"^mDu}2NJ@US:)dO:U*iY5EM50&Tx. X-Operating-System: sid X-X-X: _-^-_ Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Wed__28_Jan_2004_12_12_17_+0200_yHvkSPNOVEA3vjWR" X-Virus-Scanned: by amavisd-new at ucs.co.za X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/294 X-Sequence-Number: 5468 --Signature=_Wed__28_Jan_2004_12_12_17_+0200_yHvkSPNOVEA3vjWR Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit Forgot to mention that I use postgres 7.3.4 Stef mentioned : => Hi all , => => I'm trying to find out if there is a specific setting => to make transactions time out faster in a scenario => where there's an update on a table in a transaction => block, and another update process tries to update => the same column. => => It looks like the second process will wait until you => end the transaction block in the first transaction. => => I've looked at the deadlock timeout parameter and => other parameters, but I don't think I found what => I'm looking for. => => I basically need to be able to let the second process => exit with an error after waiting 5 - 10 seconds. => => Please can someone help? => => Kind Regards => Stefan => --Signature=_Wed__28_Jan_2004_12_12_17_+0200_yHvkSPNOVEA3vjWR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iQCVAwUBQBeLAboLc+HYd7LFAQLNPAQAjC0tAdqMZoPHxx2u99Ekb4wIptQwVxLQ MHqqaJUljV10HSLUfCZWMJm6bKxjNnDeJPDyTchAPD7e5FP530B4DuNABI8Z0TcP 3qMzjF5E9++GvQAT9w5QKe0eSai/YEb7lXx7coMmO8CmJmpl2WybROXySt8ZvIu3 B242YYHgtIo= =msxM -----END PGP SIGNATURE----- --Signature=_Wed__28_Jan_2004_12_12_17_+0200_yHvkSPNOVEA3vjWR--