Re: libpq and PostgreSQL NOTICEs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Tim Barnard" <tbarnard(at)povn(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: libpq and PostgreSQL NOTICEs
Date: 2001-06-04 20:40:24
Message-ID: 7072.991687224@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Tim Barnard" <tbarnard(at)povn(dot)com> writes:
> Is there any way to force Postgre not to send NOTICEs to the console?

Define "console" --- you mean the client's stderr? Or the postmaster's?

Changing libpq's notice processor (see PQsetNoticeProcessor) would help
if you want to filter notices on the client side.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tim Barnard 2001-06-04 20:44:49 Re: libpq and PostgreSQL NOTICEs
Previous Message Tom Lane 2001-06-04 20:35:03 Re: Alternate database locations