Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id AE427632CD6 for ; Tue, 6 Jul 2010 07:44:55 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 58539-04 for ; Tue, 6 Jul 2010 10:44:43 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-iw0-f174.google.com (mail-iw0-f174.google.com [209.85.214.174]) by mail.postgresql.org (Postfix) with ESMTP id 1C13963237A for ; Tue, 6 Jul 2010 07:44:43 -0300 (ADT) Received: by iwn7 with SMTP id 7so6511862iwn.19 for ; Tue, 06 Jul 2010 03:44:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=EJApAVmLIusH/K2npNrZd4bYv1le7ZEisTTD7mFCfzI=; b=ahq5JDZP+e8n0T4wmsSQ2zvYG+/618HCZbNJGxHOLDLX33XhVQBxdYqOsZWS1KUdi/ MjZhkeHJNynGvl1Ul9IRIUSQXRnCk1oPZuBQfKdFBCT9n7NSr7Vl3vayP8fGVrqXdS+W CUq87qNgzW13ShiBfoJGrqYOEVxokFpKM9c0I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=kP4j1VEv3GrjfmcYGkl1ZFOlqNunGNL7udXOlVG0QgS2ZjKvUmICpmXGkeDiRqOrN5 Yzc88ME4gR4BggaYFT4Bi4XkSbwYaYTzJVui8N8P81VhR9n1LgMmIvGKuRNZ3SwEMavM lOma0WxpBm00MFrNPBgHkGP3E/tIoKQoj4H68= MIME-Version: 1.0 Received: by 10.231.183.200 with SMTP id ch8mr2767204ibb.124.1278413082729; Tue, 06 Jul 2010 03:44:42 -0700 (PDT) Received: by 10.231.80.137 with HTTP; Tue, 6 Jul 2010 03:44:42 -0700 (PDT) In-Reply-To: <20100705110512.223E663278C@mail.postgresql.org> References: <20100705110512.223E663278C@mail.postgresql.org> Date: Tue, 6 Jul 2010 06:44:42 -0400 X-Google-Sender-Auth: PH1fn2ohzBHLRvbROH6cI6o_GVI Message-ID: Subject: Re: Interpretability with xDBC specification From: Dave Cramer To: Sumit Pandya Cc: pgsql-jdbc@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201007/22 X-Sequence-Number: 20687 Hi Sumit, You would do well to read the list archives specifically for this topic. There have been many posts of late. Dave On Mon, Jul 5, 2010 at 6:59 AM, Sumit Pandya w= rote: > Hi All, > =A0 =A0 =A0 =A0In this mail chain I propose to make a seamless migration = path > towards PostgreSQL. There are people who like to migrate from other datab= ase > to PostgreSQL. However first problem in that comes is related to feature > compliance and code-changes for same. > =A0 =A0 =A0 =A0Remember that code-change remains as a big hindrance for a= ny > programmer/company. > > =A0 =A0 =A0 =A0To start with I'd like to propose compliance for JDBC and = ODBC > drivers. Reason for JDBC/ODBC selection is with the facts that > =A0 =A0 =A0 =A01> Specifications for both are into proper place, > =A0 =A0 =A0 =A02> Mostly application programmers communicate with this me= thod > > =A0 =A0 =A0 =A0There are some specification; example setQueryTimeout of J= DBC; which > PostgreSQL doesnot complies. > > =A0 =A0 =A0 =A0Non compliance could be fine at some extent. But here prob= lem is > when a code which is written for database supporting setQueryTimeout and > when we planned to test PostgreSQL we got exception from driver. > > =A0 =A0 =A0 =A0To move further require to comment out all that code and t= hen > progress further. > > =A0 =A0 =A0 =A0Now I propose to not throwing any exception there. It is b= etter if > PostgreSQL - JDBC/ODBC doesnot honor this method. It is painful to change > product source-code for this limitation. > > =A0 =A0 =A0 =A0I donot have idea on debug facility in PostgreSQL - JDBC/O= DBC. If > you have some debug-log framework available then such non-implemented cal= l > could be part of high level debugging messages. > > =A0 =A0 =A0 =A0Please share your opinion/comments. > > > -- > Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-jdbc >