Re: IDLE in transaction introspection

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: IDLE in transaction introspection
Дата
Msg-id 12869.1320954572@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: IDLE in transaction introspection  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: IDLE in transaction introspection  (Scott Mead <scottm@openscg.com>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Well, we could use an optional "details" string for that.  If not, we
> are still using the magic-string approach, which I thought we didn't
> like.

No, we're not using magic strings, we're using an enum --- maybe not an
officially declared enum type, but it's a column with a predetermined
set of possible values.  It would be a magic string if it were still in
the "query" field and thus confusable with user-written queries.
        regards, tom lane


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: const correctness
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: const correctness