Prevent application log pollution with notice messages - Mailing list pgsql-general

From Andrus
Subject Prevent application log pollution with notice messages
Date
Msg-id djj7k2$289$1@news.hub.org
Whole thread Raw
List pgsql-general
My appl creates temporary table with primary key which exists only during
transaction.

Each creation of such table causes Postgres to write an entry to Windows
application log file like:

NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"taitmata_pkey" for table "taitmata"

I have lot of transactions and those messages will pollute application log
totally.

How to disable those notices for temporary tables ?

Also:

They cannot be filterad out since all Postgres log entries have type Error,
e.q.
LOG: database system is ready   message is Erorr message !

Why postgres uses Error category for NOTICES ?  Is'nt it reasonable to
use Information type ?

Andrus.



pgsql-general by date:

Previous
From: "Andrus"
Date:
Subject: Re: Select all invalid e-mail addresses
Next
From: "Magnus Hagander"
Date:
Subject: Re: [ANNOUNCE] PostgreSQL 8.1 Beta 4