X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 877E0D1B476 for ; Sun, 18 Jan 2004 10:20:07 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 74880-06 for ; Sun, 18 Jan 2004 06:19:38 -0400 (AST) Received: from curie.credativ.org (credativ.com [217.160.209.18]) by svr1.postgresql.org (Postfix) with ESMTP id BB9D8D1DA2C for ; Sun, 18 Jan 2004 06:19:35 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by curie.credativ.org (Postfix) with ESMTP id AEB9456018; Sun, 18 Jan 2004 11:19:37 +0100 (CET) Received: from colt.pezone.net (dsl-082-082-236-215.arcor-ip.net [82.82.236.215]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by curie.credativ.org (Postfix) with ESMTP id 76E2B55F2F; Sun, 18 Jan 2004 11:19:36 +0100 (CET) From: Peter Eisentraut To: Jonathan Gardner , pgsql-interfaces@postgresql.org Subject: Re: PQsetNoticeReceiver issues Date: Sun, 18 Jan 2004 11:19:58 +0100 User-Agent: KMail/1.5.1 References: <200401180027.35723.jgardner@jonathangardner.net> In-Reply-To: <200401180027.35723.jgardner@jonathangardner.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401181119.58577.peter_e@gmx.net> X-Virus-Scanned: by AMaViS at credativ.com X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/10 X-Sequence-Number: 4679 Jonathan Gardner wrote: > I've run into a conundrum with the PQsetNoticeReceiver function call. > How do you set it back to the original default? How do you call the > appropriate PQnoticeProcessor as well? The documentation says: Each of these functions returns the previous notice receiver or processor function pointer, and sets the new value. If you supply a null function pointer, no action is taken, but the current pointer is returned.