Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UHiCL-00080O-7M for pgsql-jdbc@arkaria.postgresql.org; Mon, 18 Mar 2013 22:06:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UHiCK-0006c5-NX for pgsql-jdbc@arkaria.postgresql.org; Mon, 18 Mar 2013 22:06:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UHiCJ-0006bz-Qx for pgsql-jdbc@postgresql.org; Mon, 18 Mar 2013 22:06:27 +0000 Received: from nm30-vm0.bullet.mail.bf1.yahoo.com ([98.139.213.126]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UHiCA-0006vK-AZ for pgsql-jdbc@postgresql.org; Mon, 18 Mar 2013 22:06:27 +0000 Received: from [98.139.212.144] by nm30.bullet.mail.bf1.yahoo.com with NNFMP; 18 Mar 2013 22:06:16 -0000 Received: from [98.139.212.249] by tm1.bullet.mail.bf1.yahoo.com with NNFMP; 18 Mar 2013 22:06:16 -0000 Received: from [127.0.0.1] by omp1058.mail.bf1.yahoo.com with NNFMP; 18 Mar 2013 22:06:16 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 669942.93785.bm@omp1058.mail.bf1.yahoo.com Received: (qmail 94528 invoked by uid 60001); 18 Mar 2013 22:06:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1363644376; bh=LsWSNdbidRBGrJKU/YidBEkgqmmVKdOMPkpEmInJRD8=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ACN5PzWCajcFuuPnscLmtTpBAqk+RICjP+Xoqx6OyuwdeGZAMKDMtlM3SG+IVfPka+sTxIswyaQ1MPrYZsUSNUV4U3fjFohvI8GoUMziWdrjPsbdB9WBKyN7Npx+DZnxZDBC74tt+NLN+bsnFVpnOtc4Pg5dTiIC3YVV4ZB7Bxk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=3QZovslWzW0c8P24VTcR4y0QdJSqBrPwGQXmGArbz1iu4fdsdwB8LebDzPx1pCQfaEXNMcVxTx9ohbaNUqN9lLZRYdtx8LzCO5O2hKMahaGrBRyteZJe+GbHboiDdkye8+xtmWgUuCH8vLZthG79x9z2qC6m5X5se38BsUoRGr8=; X-YMail-OSG: VcQ4TkQVM1mfWyo42Wj_26qWk9s0zXoxPUviOP0jsXecUas TxSlSklXvGrHQdtCZCx5nZ44ls48ggnHFkI6uQAr62U4SYB67dAVd7oZvwhj UX2LPN8zovjyxNYKBxsTRyEQvGBkXizNNRzXmRNDdHcsIrUmXMHGDy.ccZ8f mH3Dn5_YjGZRaYAXBEW.Z5tgqsWLwgob_plQElUlzUR.yOJeRaGXDfi_LOhs 9IabInXtuvEin952K3LyN8CJNajbUidVwc1dwdWzGSZc3HHfz9GcFS3ZWZ2D 0PIa2RHB5AkfUSWvwaZ9hEaHXm.4u9.QBQRwnMuSSKEyNWnkhX_N3lbSfg0E oeiB2FJWvBV1siwjUnBQS1VXsVTU5hWgmK5YOmkkLYaE6vz1RibN1Adj9Bfc Blz6dUM6LbnB1MGCok_w9zYhKQJRUpkHd_g.bAd_pDmZp6tKPoXgBTt.Creo ruJ5fo26nQaD7tiDKRyGxore2P7NHlOh.VpkIT02bbnmdRy1SLxPlJ1ObQkQ m1o8buuXrjM7Riyg2iiTyZ7OAAhNneP0- Received: from [76.255.18.237] by web162905.mail.bf1.yahoo.com via HTTP; Mon, 18 Mar 2013 15:06:16 PDT X-Rocket-MIMEInfo: 002.001, RGF2ZSBDcmFtZXIgPHBnQGZhc3RjcnlwdC5jb20.IHdyb3RlOgoKPiBJJ20gbG9va2luZyBmb3Igb3BpbmlvbnMgb24gdGhpcyBwYXRjaC4KPgo.IEhlaWtraSA_IEtldmluIEdyaXR0bmVyID8KClRvIGludHJvZHVjZSBteXNlbGYgdG8gdGhlIFBPTEFSSVMgZm9sa3MgYW5kIHB1dCBteSBjb21tZW50cyBpbgpwZXJzcGVjdGl2ZSwgSSdtIGEgY29tbWl0dGVyIG9uIHRoZSB1bmRlcmx5aW5nIGRhdGFiYXNlIHByb2R1Y3QsCmFuZCBzcGVudCBhIGZldyB5ZWFycyBjb2RpbmcgaW4gSmF2YSAtLSBpbmNsdWRpbmcBMAEBAQE- X-Mailer: YahooMailWebService/0.8.138.524 References: Message-ID: <1363644376.93991.YahooMailNeo@web162905.mail.bf1.yahoo.com> Date: Mon, 18 Mar 2013 15:06:16 -0700 (PDT) From: Kevin Grittner Reply-To: Kevin Grittner Subject: Re: Re: [pgjdbc] XADataSource support for resource sharing & interleaving. (#47) To: Dave Cramer , List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.0 (--) 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 Dave Cramer wrote: > I'm looking for opinions on this patch. > > Heikki ? Kevin Grittner ? To introduce myself to the POLARIS folks and put my comments in perspective, I'm a committer on the underlying database product, and spent a few years coding in Java -- including debugging a few small JDBC issues.=A0 I'm going to approach this more-or-less as I would a review of source code for the core product, and Dave may reign me in if the approach here is different. First off, I would like to thank the POLARIS team for tackling this and having the patience to work with the community in sharing your work.=A0 I promise we're not trying to be difficult, but a rigorous process is important to the long-term viability of the product, and I hope to keep the pain to a minimum.=A0 My initial points may seem picky, but experience has shown that these things do matter. One things is the means of delivery.=A0 It's great to use github to develop "in the open".=A0 I do that and applaud your use of this technique.=A0 The core developers, however, have a policy of asking the submitter to email a patch to the community list.=A0 The creates a permanent record of who submitted what, when, and is considered to be proof that you are offering the code to the community under the terms of the project's license.=A0 INAL, but apparently this is considered important to avoid disputes about the right to distribute the work.=A0 So, based on the subsequent discussion, I request that someone authorized to offer this to the community submit a context or unified diff of the work to this list, as an attachment to an email. In comparing your github repository to the master branch, I see a lot of whitespace changes that are not functionally necessary, and I see changes to support relocation of the source code.=A0 I know you already moved the source code itself back to its historical location, but the changes to support making it relocatable should really be submitted as a separate patch, and whitespace changes should also be submitted in a patch which does absolutely nothing but modify whitespace and maybe comments.=A0 As a reviewer I can say that it helps tremendously to be able to focus on just the single feature without these other "distractions". Personally, I like the changes to make the source code relocatable. Perhaps you could pull out just those changes as a fairly small patch and submit that for discussion, review, and possible inclusion in the community code?=A0 That will be once step to keeping the main patch smaller and more focused. Then the whitespace changes.=A0 In the core code we prohibit trailing whitespace in source code.=A0 If you run `git diff master...POLARIS_XA` you will see the trailing whitespace in red.=20 If you could eliminate that, I would appreciate it.=A0 If you could then break out any whitespace changes (like bringing an opening brace up from its own line to the end of the previous line) as a separate patch, that would likewise minimize distractions in reviewing the main patch.=A0 Might as well do that first, too, so whitespace in the main part of the patch can be in matching style.=20 There may be some discussion about how things *should* be formatted; in the core project we have a piece of software that standardizes all of that and saves a lot of arguments on such issues.=A0 Here we may have to go through a (hopefully brief) religious war on the topic. Of course, none of this is intended to substitute for a review of the substance of the patch, which will take me a bit longer -- it is intended to make review easier and more focused and allow those looking back through the revision history to better understand the changes. Thanks again for tackling an ambitious feature set! --=20 Kevin Grittner EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc