Re: Add support for logging the current role

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Add support for logging the current role
Дата
Msg-id 1295282505-sup-8471@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Add support for logging the current role  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Add support for logging the current role  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Excerpts from Tom Lane's message of sáb ene 15 00:34:40 -0300 2011:
> Stephen Frost <sfrost@snowman.net> writes:

> > What about something other than
> > version_x_y?  I could maybe see having a 'default' and an 'all'
> > instead..  Then have the default be what we have currently and 'all' be
> > the full list I'm thinking about.
> 
> If "default" always means what it means today, I can live with that.
> But if the meaning of "all" changes from version to version, that seems
> like a royal mess.  Again, I'm concerned that an external tool like
> pgfouine be able to make sense of the value without too much context.
> If it doesn't know what some of the columns are, it can just ignore them
> --- but a magic summary identifier that it doesn't understand at all is
> a problem.

Maybe if we offered a way for the utility to find out the field list
from the magic identifier, it would be enough.

(It would be neat to have magic identifiers for "terse", "verbose",
etc, that mimicked the behavior of client processing)

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Moving test_fsync to /contrib?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Replication logging