From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stef <svb@ucs.co.za>
Cc: pgsql-performance@postgresql.org, "pgsql-sql@postgresql.org" <pgsql-sql@postgresql.org>
Subject: Re: [SQL] postgres timeout.
Date: Wed, 28 Jan 2004 11:49:12 -0500
Message-ID: <20369.1075308552@sss.pgh.pa.us> (raw)
In-Reply-To: <20040128121109.02f554e6.svb@ucs.co.za>
References: <20040128121109.02f554e6.svb@ucs.co.za>
Stef <svb@ucs.co.za> writes:
> 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.
You can use statement_timeout to limit the wait.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, svb@ucs.co.za
Subject: Re: [SQL] postgres timeout.
In-Reply-To: <20369.1075308552@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox