Re: [HACKERS] For review: Server instrumentation patch

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [HACKERS] For review: Server instrumentation patch
Дата
Msg-id 20050811163239.GA20172@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [HACKERS] For review: Server instrumentation patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [HACKERS] For review: Server instrumentation patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
On Thu, Aug 11, 2005 at 11:34:43AM -0400, Bruce Momjian wrote:
> Andreas Pflug wrote:
> > Bruce Momjian wrote:
> > > Dave Page wrote:
> > >
> > >
> > > The only part I didn't like about the patch is the stat display:
> > >
> > >     test=> select pg_file_stat('postgresql.conf');
> > >                                     pg_file_stat
> > >     -----------------------------------------------------------------------------
> > >
> > >      (12287,"2005-08-11 00:06:30","2005-08-11 00:06:43","2005-08-11 00:06:30",f)
> > >     (1 row)
> > >
> > > Shouldn't this return multiple labeled columns rather than an array?
> >
> > pg_show_all_settings output is equally unreadable, designed not to be
> > used directly.
>
> True, but we have SELECT * FROM pg_settings() that does display the
> titles.  Right now the values aren't even documented.

So, did you try

select * from pg_file_stats('postgresql.conf');

--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
Si no sabes adonde vas, es muy probable que acabes en otra parte.

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: remove BufferBlockPointers for speed and space
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] For review: Server instrumentation patch