Re: Suppressing postgres messages?

Поиск
Список
Период
Сортировка
От nconway@klamath.dyndns.org (Neil Conway)
Тема Re: Suppressing postgres messages?
Дата
Msg-id 20020703213648.GC13938@klamath.dyndns.org
обсуждение исходный текст
Ответ на Re: Suppressing postgres messages?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Suppressing postgres messages?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
On Wed, Jul 03, 2002 at 11:44:34AM -0400, Bruce Momjian wrote:
> cshum wrote:
> > Hi,
> >
> >   How do I suppress postgres messages such as the one below?
> >
> >   NOTICE:  CREATE TABLE/PRIMARY KEY will create implicit index
> > 'sometable_pkey' for table 'sometable'
>
> 7.3 will have a client_min_mesages setting you can control.  Nothing
> like that exists in 7.2.X.  The only solution is to edit the C code and
> remove the elog(NOTICE).

Wouldn't PQsetNoticeProcessor() work? (or the equivalent function in
your client interface, if not libpq).

Cheers,

Neil

--
Neil Conway <neilconway@rogers.com>
PGP Key ID: DB3C29FC



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

Предыдущее
От: nconway@klamath.dyndns.org (Neil Conway)
Дата:
Сообщение: Re: Temporal Event
Следующее
От: "Peter Darley"
Дата:
Сообщение: Re: Bad records in table