Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 169E6635933 for ; Tue, 21 Jul 2009 10:48:24 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 89616-03-7 for ; Tue, 21 Jul 2009 10:48:04 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mail.postgresql.org (Postfix) with ESMTP id 482A5636985 for ; Tue, 21 Jul 2009 10:29:08 -0300 (ADT) Received: by fg-out-1718.google.com with SMTP id 13so713898fge.0 for ; Tue, 21 Jul 2009 06:29:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=K80l9FI6qlusml5q82FSsJI1VYou0c0wgpsqJXc5sOI=; b=NbZ+IkR0P0KQLyhpioBlACsxISFPmYaI+qngT+MY1chXNbz5tVzaECZiz1kVO4VMNI 3yFVwAFYsR2xsAamoQsWBN95Aju3UJBWc5euTpX81KOnYU1jpuL3Ad2mdmmf94CC6xE6 29ERmpqwlOPFxfDiqVFOOPqkDtTtO/pnS4wBc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=SARN2jj38C1TVDYo7/lpuTwxl73WIKq4P/6ySPIwYTaK70fMMGE19oAjFdJOHt4P3d p0S1JHXrgsG5sp/jzmyMUfzPveXJ6ZFtrU8RRx6cAnWC70UgG9ZxDNCWoKTs/hLHWjUW AYFOIxvaikuNBvaWtDl1CI/IhJ98H/3gKnIos= MIME-Version: 1.0 Received: by 10.86.76.4 with SMTP id y4mr4681407fga.22.1248182945880; Tue, 21 Jul 2009 06:29:05 -0700 (PDT) In-Reply-To: <4A658E0F.1020608@elyograg.org> References: <4A65248C.8040406@elyograg.org> <4A6531CD.6040204@ttc-cmc.net> <4A658E0F.1020608@elyograg.org> Date: Tue, 21 Jul 2009 16:29:05 +0300 Message-ID: <331e40660907210629y2304bb24v4508a79474918571@mail.gmail.com> Subject: Re: Forcing cursor behavior From: =?KOI8-U?B?96bUwcymyiD0yc3eydvJzg==?= To: Shawn Heisey Cc: pgsql-jdbc@postgresql.org Content-Type: multipart/alternative; boundary=000e0cd25b981a9a1f046f373d9d X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200907/50 X-Sequence-Number: 19818 --000e0cd25b981a9a1f046f373d9d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 2009/7/21 Shawn Heisey > > To the person with the Cyrillic name that also responded ... how much > effort would be involved in writing the delegating driver you described? > It depends on how you configure which driver is used - with DataSource or DriverManager URL. Simply wrapping a Connection would be few hundred lines of similar code that can be done in few days (few hours for "fast prototype") - I've done similar things for running tests on embedded Java DB instead of postgres used in production. Registering new prefix in DriverManager (e.g. "jdbc:postgrespatched:url") may take some more time - one need to look into JDBC SPI. Best regards, Vitalii Tymchyshyn. --000e0cd25b981a9a1f046f373d9d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

2009/7/21 Shawn Heisey <pgsql@elyograg.org>

To the person with the Cyrillic name that also responded ... how much effor= t would be involved in writing the delegating driver you described?

It depends on how you configure which driver is used= - with DataSource or DriverManager URL. Simply wrapping a Connection would= be few hundred lines of similar code that can be done in few days (few hou= rs for "fast prototype") - I've done similar things for runni= ng tests on embedded Java DB instead of postgres used in production.
Registering new prefix in DriverManager (e.g. "jdbc:postgrespatched:ur= l") may take some more time - one need to look into JDBC SPI.

B= est regards, Vitalii Tymchyshyn.
--000e0cd25b981a9a1f046f373d9d--