[PATCH] add notice processor to DBD::Pg

From: des(at)des(dot)no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To: pgsql-interfaces(at)postgresql(dot)org
Subject: [PATCH] add notice processor to DBD::Pg
Date: 2004-09-13 21:16:08
Message-ID: xzpd60pj2ef.fsf@dwp.des.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

The attached patch adds a notice processor to DBD::Pg. While it
doesn't do much (just pass the mesage on to warn()), it allows Perl
scripts to intercept notices with the usual $SIG{__WARN__} mechanism.

DES
--
Dag-Erling Smørgrav - des(at)des(dot)no

Attachment Content-Type Size
patch-dbdimp.c text/x-patch 630 bytes

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message =?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?= 2004-09-13 21:26:05 Re: [PATCH] add notice processor to DBD::Pg
Previous Message Adrian Chew 2004-09-13 08:55:00 having problem connecting to postgreSQL v7.5.