Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZwVlf-00048L-N0 for pgsql-jdbc@arkaria.postgresql.org; Wed, 11 Nov 2015 13:48:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZwVle-0005Wt-QD for pgsql-jdbc@arkaria.postgresql.org; Wed, 11 Nov 2015 13:48:54 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZvwdD-0003Ps-BR for pgsql-jdbc@postgresql.org; Tue, 10 Nov 2015 00:17:51 +0000 Received: from bay.acenet.us ([173.230.252.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zvwd4-0008Eo-RR for pgsql-jdbc@postgresql.org; Tue, 10 Nov 2015 00:17:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anastigmatix.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=2uB1dBqEkQhndZwh3sY0XzGVep7UQdL6P3xOa22Pnm8=; b=CpxDx2X870j3A2SaPoDMUX6JrP SuIr/g15ynkszqFmDIxQt+ErKXeZLq2LZni7Gi8kMiGXbTEG0qAPfnO/UaOYGltSh3JmIX5nulTYz oDz1gQ5JAMdSRqtJk2P0KTBIBsPSiv4KQtTI60dgQOcWiqv1Ip9o8391gnJOlcNRkh5mPMFzUVYof AP6DcMXPmHWIGa6Mum2o5JQ/OB9zVXTQbk/mjmAceT1L+o8kFZs2HIA8DCHd1jTYRS31dFRAc4L4b E5MFAKe6KHNxc26VmgHYJMeGBmg1ZtBFyxjydKGWdO7ROm5MGq0XNFDwdvz5JwqaA3raezN28foHb 1AOG3+eA==; Received: from [184.19.32.171] (port=38332) by bay.acenet.us with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.86) (envelope-from ) id 1Zvwcz-002Q0I-R7; Mon, 09 Nov 2015 19:17:39 -0500 Message-ID: <564137A1.4060800@anastigmatix.net> Date: Mon, 09 Nov 2015 19:17:37 -0500 From: Chapman Flack User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org, kdubb@me.com, pljava-dev@lists.pgfoundry.org Subject: Re: more re: possible pljava / pgjdbc / pgjdbc-ng code sharing References: <5630454F.4000900@anastigmatix.net> In-Reply-To: <5630454F.4000900@anastigmatix.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bay.acenet.us X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - anastigmatix.net X-Get-Message-Sender-Via: bay.acenet.us: authenticated_id: chap+anastigmatix.net/only user confirmed/virtual account not confirmed X-Authenticated-Sender: bay.acenet.us: chap@anastigmatix.net X-Source: X-Source-Args: X-Source-Dir: X-Pg-Spam-Score: -1.8 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On 10/27/15 23:47, Chapman Flack wrote: > https://github.com/tada/pljava/wiki/Thoughts-on-logging > ... > My reason for writing it *now* is not that I think it's necessarily the > most interesting, important, or pressing area needing work. Instead, I've > written it now because I think what I've proposed might need some > discussion and refinement, so by putting it out there early, maybe some > of that can happen in parallel with working on other important pressing > parts. It turns out to be more timely than I thought - PL/Pythonu is also developing a patch (starting last month) to the same end. http://postgresql.nabble.com/proposal-PL-Pythonu-function-ereport-td5869255.html On their client side, psycopg2 already exposes a documented, supported PostgreSQL-specific Diagnostics object. http://initd.org/psycopg/docs/extensions.html#psycopg2.extensions.Diagnostics -Chap -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc