Re: Any way to make PG driver obey PrintWarn?

From: "Uwe C(dot) Schroeder" <uwe(at)oss4u(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: Tyler MacDonald <tyler(at)yi(dot)org>, dbi-users(at)perl(dot)org
Subject: Re: Any way to make PG driver obey PrintWarn?
Date: 2006-02-06 23:40:01
Message-ID: 200602061540.01986.uwe@oss4u.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Probably because the notice you see is a notice from the database engine, not
from the driver.
You can however turn off those notices in postgresql.conf

On Monday 06 February 2006 14:30, Tyler MacDonald wrote:
> I'm using the DBD::Pg driver and i've specifically turned "PrintWarn" off,
> yet I am still getting spammed with messages like this:
>
> NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
> "aus_flag_pkey" for table "aus_flag" NOTICE: CREATE TABLE / PRIMARY KEY
> will create implicit index "aus_password_crypt_pkey" for table
> "aus_password_crypt"
>
> etcetcetc...
>
> rt.cpan.org doesn't show any active bugs about this. Is this a known issue?
> Is it even a bug or am I doing something wrong? Why does Pg feel it
> neccessary to tell me that these implicit indexes are being created
> anyways?
>
> Thanks,
> Tyler
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org

--
Open Source Solutions 4U, LLC 1618 Kelly St
Phone: +1 707 568 3056 Santa Rosa, CA 95401
Cell: +1 650 302 2405 United States
Fax: +1 707 568 6416

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2006-02-06 23:42:53 Re: Should I use PL/PGSQL or Perl/PGSQL?
Previous Message rlee0001 2006-02-06 23:28:19 Re: Regex