Re: IDLE in transaction introspection

Поиск
Список
Период
Сортировка
От Marti Raudsepp
Тема Re: IDLE in transaction introspection
Дата
Msg-id CABRT9RALaKEwvoHXRrnqoCcXJN6uFqockkFt5KFkachA8sNBTQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: IDLE in transaction introspection  (Scott Mead <scottm@openscg.com>)
Ответы Re: IDLE in transaction introspection  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Nov 2, 2011 at 20:18, Scott Mead <scottm@openscg.com> wrote:
>    State will display <RUNNING>, <IDLE>, <IDLE> in transaction, etc...

While we're already breaking everything, we could remove the "waiting"
column and use a state with value 'waiting' instead.

Also, returning these as text seems a little lame. Should there be an
enum type for that?

Or we could return single-character mnemonics like some pg_catalog
tables do, and substitute them in the view.

Regards,
Marti


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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: psql expanded auto
Следующее
От: Gabriele Bartolini
Дата:
Сообщение: [PATCH] Support for foreign keys with arrays