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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-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 Content-Type Size
Pgsql_show_trans_in_ps.diff.gz application/x-gzip 379 bytes

Responses

Browse pgsql-hackers by date

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

Browse pgsql-patches by date

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