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

Поиск
Список
Период
Сортировка
От Christof Petig
Тема Re: Small patch to replace 'idle' by 'trans' if transaction is still open
Дата
Msg-id 39E40EA5.4DCFAB1E@wtal.de
обсуждение исходный текст
Ответ на Re: Small patch to replace 'idle' by 'trans' if transaction is still open  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Small patch to replace 'idle' by 'trans' if transaction is still open  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Small patch to replace 'idle' by 'trans' if transaction is still open  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Tom Lane wrote:

> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I can't decide if this is of general use.  My inclination is that
> > someone in a transaction sitting a prompt should still show as idle.
>
> The idea seemed good to me, although I didn't look at the code to see
> if the implementation was any good ;-).  I know we've frequently had
> questions on the lists where it was interesting to know if any
> transactions were being held open --- and right now there's no easy
> way to tell.
>
>                         regards, tom lane

I would even propose 'idle (transaction open)' if you agree. (Seemed too
long for me)
The patch is _trivial_ a string changed to a condifional operator and two
strings (two times). A two liner.

   Christof



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

Предыдущее
От: Denis Perchine
Дата:
Сообщение: Re: Large objects in one table patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Small patch to replace 'idle' by 'trans' if transaction is still open