Re: Added columns to pg_stat_activity

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Added columns to pg_stat_activity
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C73E1@algol.sollentuna.se
обсуждение исходный текст
Ответ на Added columns to pg_stat_activity  ("Magnus Hagander" <mha@sollentuna.net>)
Ответы Re: Added columns to pg_stat_activity
Список pgsql-patches
> > Looks pretty good -- barring any objections I'll apply this to HEAD
> > tomorrow or the day after (there's a room for a bit of
> cleanup to the
> > docs, but I'll do that before committing).
>
> Couple of minor gripes:
>
> 1.  Can we reduce the amount of stuff #include'd by pgstat.h?
>  I particularly dislike including builtins.h there; that
> surely should be unnecessary, since there's nothing but
> externs in builtins.h.

Right. Only one needs to be there, the other two can be moved to
pgstatfuncs.c. The last one is needed to get the SockAddr structure.


> 2.  WRT the inet.h change: the project standard is that
> extern declarations are spelled with "extern".

Fixed.

Updated patch attached.

//Magnus

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Added columns to pg_stat_activity
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Cleaning up unreferenced table files