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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Small patch to replace 'idle' by 'trans' if transaction is still open
Дата
Msg-id Pine.LNX.4.21.0010111841560.767-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: Small patch to replace 'idle' by 'trans' if transaction is still open  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane writes:

> Christof Petig <christof.petig@wtal.de> writes:
> > I would even propose 'idle (transaction open)' if you agree. (Seemed too
> > long for me)
>
> No, the ps strings have got to be *short*.  A lot of platforms have a
> tight limit on how much command string ps will show.  I thought 'trans'
> was OK, though perhaps someone has an even better idea?

Since nothing follows the status indicator in the ps display you can
really make it as long as you want; the rest will be truncated.  So you
might want to put it "transaction (idle)", so that the essential
information is first.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Small patch to replace 'idle' by 'trans' if transaction is still open
Следующее
От: Philip Warner
Дата:
Сообщение: Re: Small patch to replace 'idle' by 'trans' if transaction is still open