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

Small patch to replace 'idle' by 'trans' if transaction is still open

From: Christof Petig <christof(dot)petig(at)wtal(dot)de>
To: pgsql-patches(at)postgresql(dot)org
Subject: Small patch to replace 'idle' by 'trans' if transaction is still open
Date: 2000-10-03 19:28:36
Message-ID: 39DA3363.216F7009@wtal.de (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
If you are looking for programs which tend to hold longstanding
transactions, this micro patch might be handy.
Whether it is of general use is debatable. It will replace 'idle' by
'trans' if the backend is idle but a transaction is pending.

Simply use ps to view the backend's status.

Christof

Attachment: Pgsql_show_trans_in_ps.diff.gz
Description: application/x-gzip (379 bytes)

Responses

pgsql-hackers by date

Next:From: Nathan BoegerDate: 2000-10-03 20:36:45
Subject: AIX compile ?? libcrypt HELP !!
Previous:From: Randy JonaszDate: 2000-10-03 18:47:45
Subject: C++ client libs

pgsql-patches by date

Next:From: Ricardo TimaranDate: 2000-10-05 03:50:03
Subject: Documentation about compiler Postgres
Previous:From: Jaap BoenderDate: 2000-10-03 10:00:25
Subject: Compile problems on NetBSD/alpha 1.4.2 (and partial solution)

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