pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Віталій Тимчишин <tivv00@gmail.com>
To: Shawn Heisey <pgsql@elyograg.org>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Forcing cursor behavior
Date: Tue, 21 Jul 2009 16:29:05 +0300
Message-ID: <331e40660907210629y2304bb24v4508a79474918571@mail.gmail.com> (raw)
In-Reply-To: <4A658E0F.1020608@elyograg.org>
References: <4A65248C.8040406@elyograg.org>
	<4A6531CD.6040204@ttc-cmc.net>
	<4A658E0F.1020608@elyograg.org>

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

>
> 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.

view thread (5+ messages)

Message-ID: <331e40660907210629y2304bb24v4508a79474918571@mail.gmail.com>
Permalink:  ../331e40660907210629y2304bb24v4508a79474918571@mail.gmail.com/
Also on:    postgresql.org/message-id/331e40660907210629y2304bb24v4508a79474918571@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: tivv00@gmail.com, pgsql@elyograg.org
  Subject: Re: Forcing cursor behavior
  In-Reply-To: <331e40660907210629y2304bb24v4508a79474918571@mail.gmail.com>
  References: <4A65248C.8040406@elyograg.org> <4A6531CD.6040204@ttc-cmc.net> <4A658E0F.1020608@elyograg.org> <331e40660907210629y2304bb24v4508a79474918571@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox