Re: Add support for logging the current role

Поиск
Список
Период
Сортировка
От Itagaki Takahiro
Тема Re: Add support for logging the current role
Дата
Msg-id AANLkTi=V7+-DxAyxyeXSYo75boCBs6OQDXs+SG2popva@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add support for logging the current role  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Add support for logging the current role  (Noah Misch <noah@leadboat.com>)
Re: Add support for logging the current role  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
On Mon, Feb 7, 2011 at 04:10, Stephen Frost <sfrost@snowman.net> wrote:
> Yeah, doesn't seem to work for me (missing '/bin/collateindex.pl',
> apparently..).

You might need "yum install openjade stylesheets" or similar packages
and re-"configure".

> Ok, I've cleaned up that part of the documentation to be a table instead
> of the listings that were there, seems like a better approach anyway.

Yeah, that's a good job!

>> I agree that it's logically good design, but we could not accept it
>> as long as it breaks tools in the real world...
> If it does, I think it's pretty clear that those tools are themselves
> broken..

The word "break" was my wrong choice, but your new parameter still
requires very wide monitors to display SHOW ALL and pg_settings.
I'd like to solve the issue even though the feature itself is useful.
One fast and snappy solution might be to set the default value to
"default", that means the compatible set of columns.
Other better ideas?

For implementation, write_csvlog() has many following lines:if (curr_field != num_fields) appendStringInfoChar(&buf,
',');
It will be cleaner if we add first_col flag and move it out of
the switch statement.

Other questions I raised before might be matters of preference.
I'd like to here about them form third person.* name: log_csv_fields vs. csvlog_fields* when to assign: PGC_POSTMASTER
vs.PGC_SIGHUP
 

-- 
Itagaki Takahiro


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Update docs on building for Windows to accomodate current realit
Следующее
От: Florian Weimer
Дата:
Сообщение: Re: Range Types - efficiency