Re: reindexdb command utlility

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: reindexdb command utlility
Дата
Msg-id 200606071313.k57DDFQ00413@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: reindexdb command utlility  (Euler Taveira de Oliveira <euler@timbira.com>)
Ответы Re: reindexdb command utlility  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Patch applied.  Thanks.

---------------------------------------------------------------------------


Euler Taveira de Oliveira wrote:
> > I used wanted to point out the the ( -q, --quiet ) parameter for
> > reindexdb command utility does not work.
> Actually it is *not* a bug. The NOTICE is printed by the REINDEX
> command; reindexdb is just a wrapper around REINDEX command. If you
> set up 'client_min_messages' in postgresql.conf, you don't get those
> 'annoying' messages.
>
> > Also reindexdb writes NOTICE to standard err for every table it
> > reindexes which makes it really hard to use in script as it always
> > produces an "errror".  :-)
> >
> You can always ignore NOTICE. grep is your friend. :-)
>
> Looking at the code, IMHO we could raise the ereport from NOTICE to
> INFO (see the patch attached). None of the scripts actually raise
> NOTICEs if it succeeds.
>
> Comments?
>
>
> --
>   Euler Taveira de Oliveira
>   http://www.timbira.com/

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings

--
  Bruce Momjian   http://candle.pha.pa.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: Adam
Дата:
Сообщение: Problem configuring PostgreSQL 8.1.4 on Mac OS X
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Problem configuring PostgreSQL 8.1.4 on Mac OS X