X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C3032D8A60 for ; Sat, 17 Sep 2005 19:19:40 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 42233-09 for ; Sat, 17 Sep 2005 22:19:37 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 934CED8A4E for ; Sat, 17 Sep 2005 19:19:37 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j8HMJeIY009634; Sat, 17 Sep 2005 18:19:40 -0400 (EDT) To: "Scot Loach" Cc: pgsql-odbc@postgresql.org Subject: Re: [PATCH] notice handler In-reply-to: <71837C040963F748B9B94E123A289678664FB0@mailserver.sandvine.com> References: <71837C040963F748B9B94E123A289678664FB0@mailserver.sandvine.com> Comments: In-reply-to "Scot Loach" message dated "Sat, 17 Sep 2005 13:51:45 -0400" Date: Sat, 17 Sep 2005 18:19:40 -0400 Message-ID: <9633.1126995580@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200509/152 X-Sequence-Number: 6050 "Scot Loach" writes: > This patch fill fix the notice handler so that the odbc driver doesn't output notices from the backend to stderr. Why is that a "fix" and not "breaking it"? It sounds pretty ill-advised to me. In particular, notices sent when not inside a query are usually pretty significant (ie, the backend telling you why it's about to cut off your connection), and I can't see a justification for arbitrarily suppressing them. regards, tom lane