| From: | David Wheeler <david(at)wheeler(dot)net> |
|---|---|
| To: | Dominic Mitchell <dom(at)semantico(dot)com> |
| Cc: | Rudy Lippan <rlippan(at)remotelinux(dot)com>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-interfaces(at)postgresql(dot)org, "'DBI developers'" <dbi-dev(at)perl(dot)org> |
| Subject: | Re: DBD::Pg 1.30_1 WAS (Re: Prepare and prepare ?) |
| Date: | 2003-05-29 15:36:28 |
| Message-ID: | 505BBD9E-91EB-11D7-975B-0003931A964A@wheeler.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-interfaces |
On Thursday, May 29, 2003, at 02:00 AM, Dominic Mitchell wrote:
> One more thing for the change log: notice messages generated by the
> database now use the perl warning mechanism instead of going to
> stderr, so they can be trapped if needed.
Oh, sweet! How did you do that? I've been doing this to catch them:
<hack caveat="ugly">
open STDERR, "| perl -ne 'print unless /: NOTICE: /'"
or die "Cannot pipe STDERR: $!\n";
</hack>
Regards,
David
--
David Wheeler AIM: dwTheory
david(at)kineticode(dot)com ICQ: 15726394
http://kineticode.com/ Yahoo!: dew7e
Jabber: Theory(at)jabber(dot)org
Kineticode. Setting knowledge in motion.[sm]
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dominic Mitchell | 2003-05-29 15:44:10 | Re: DBD::Pg 1.30_1 WAS (Re: Prepare and prepare ?) |
| Previous Message | David Wheeler | 2003-05-29 15:34:26 | Re: DBD::Pg 1.30_1 WAS (Re: Prepare and prepare ?) |