Re: [HACKERS] For review: Server instrumentation patch

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] For review: Server instrumentation patch
Дата
Msg-id 200508111534.j7BFYhC09540@candle.pha.pa.us
обсуждение исходный текст
Ответы Re: [HACKERS] For review: Server instrumentation patch  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-patches
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.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: PL/pgSQL: #option select_into_1_row (was SELECT INTO
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: [HACKERS] For review: Server instrumentation patch