pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedImproved JDBC driver part 2
14+ messages / 10 participants
[nested] [flat]
* Improved JDBC driver part 2
@ 2010-11-30 18:49 Radosław Smogura <mail@smogura.eu>
0 siblings, 2 replies; 14+ messages in thread
From: Radosław Smogura @ 2010-11-30 18:49 UTC (permalink / raw)
To: pgsql-jdbc@postgresql.org, Александър Шопов <lists@kambanaria.org>; PG Hackers <pgsql-hackers@postgresql.org>
Hello,
Maybe you are interested about this what I done with JDBC
=== Original driver (Text mode) ===
* Memory *
1. Memory usage improvments when using result set input streams (no uneeded
memory copy) - needs few touches for bigger performance.
2. Memory usage improvments for large data, should be no problem to load 1GB
bytea[] when have only 300MB of memory ("threshold" size still hardcoded).
* JDBC 4 *
1. XML are now correctly transformed before send to server - previous version
used normal text-file transformations that is not enaugh.
2. In all modes (text/binary) XMLs are sended in binary mode, so driver don't
need to do special transformation (does it require libxml?), until character
streams are used.
3. JDBC4 exception throwing.
4. XML objects are readable only once, you can't reuse it, update form result
set (silently set to null on RS.updateRow() - shouldn't be silent) returns
null till refreshRow(), but you can write to them after load.
5.Target XML behavior is streaming behavior to don't repeat problems with
bytea.
* JDBC 4.1 *
1. Just started.
* Others *
1. Few additional test cases. Few utils for XML checking (string equals is too
less) no good, but better.
2. Fixed bug, causing inproper time(stamps) encoding for WITH TIME ZONE fields,
after changing default time zone.
=== Binary mode ===
1. Read for almost all data types with arrays.
2. Write for few.
3. Much more restrictive checking when casting form one type to other.
4. Exceptions when casting from one type to other inproper type.
5. Still ResultSet.getString() for XML will return XML - this spec. prohibited
(X - base type conversion, x - possible conversion, no x - no base and
possible = no conversion).
6. No getPriviliges for metadata - no binary output for ACL!!!
7. Many, many tests passed.
8. Data reading is faster for all reads (checked with profiler, against
original driver).
Driver is here http://www.rsmogura.net/pgsql/pgjdbc_exp_20101130_C.tar.gz is
currently JDK 6 compatible (will be not), compressed patch takes about 136kb
gziped.
Kind regards & have a nice day
----------
Radosław Smogura
http://www.softperience.eu
^ permalink raw reply [nested|flat] 14+ messages in thread
* Re: [HACKERS] Improved JDBC driver part 2
@ 2010-12-01 11:06 Valentine Gogichashvili <valgog@gmail.com>
parent: Radosław Smogura <mail@smogura.eu>
1 sibling, 1 reply; 14+ messages in thread
From: Valentine Gogichashvili @ 2010-12-01 11:06 UTC (permalink / raw)
To: Radosław Smogura <mail@smogura.eu>; +Cc: pgsql-jdbc@postgresql.org, Александър Шопов <lists@kambanaria.org>; PG Hackers <pgsql-hackers@postgresql.org>
Hi,
I cannot get the file:
wget http://www.rsmogura.net/pgsql/pgjdbc_exp_20101130_C.tar.gz
--2010-12-01 12:05:28--
http://www.rsmogura.net/pgsql/pgjdbc_exp_20101130_C.tar.gz
Resolving www.rsmogura.net... 64.120.14.83
Connecting to www.rsmogura.net|64.120.14.83|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-12-01 12:05:29 ERROR 404: Not Found.
On Tue, Nov 30, 2010 at 7:49 PM, Radosław Smogura <mail@smogura.eu> wrote:
> Hello,
>
> Maybe you are interested about this what I done with JDBC
>
> === Original driver (Text mode) ===
> * Memory *
> 1. Memory usage improvments when using result set input streams (no uneeded
> memory copy) - needs few touches for bigger performance.
> 2. Memory usage improvments for large data, should be no problem to load
> 1GB
> bytea[] when have only 300MB of memory ("threshold" size still hardcoded).
>
> * JDBC 4 *
> 1. XML are now correctly transformed before send to server - previous
> version
> used normal text-file transformations that is not enaugh.
> 2. In all modes (text/binary) XMLs are sended in binary mode, so driver
> don't
> need to do special transformation (does it require libxml?), until
> character
> streams are used.
> 3. JDBC4 exception throwing.
> 4. XML objects are readable only once, you can't reuse it, update form
> result
> set (silently set to null on RS.updateRow() - shouldn't be silent) returns
> null till refreshRow(), but you can write to them after load.
> 5.Target XML behavior is streaming behavior to don't repeat problems with
> bytea.
>
> * JDBC 4.1 *
> 1. Just started.
>
> * Others *
> 1. Few additional test cases. Few utils for XML checking (string equals is
> too
> less) no good, but better.
> 2. Fixed bug, causing inproper time(stamps) encoding for WITH TIME ZONE
> fields,
> after changing default time zone.
>
> === Binary mode ===
> 1. Read for almost all data types with arrays.
> 2. Write for few.
> 3. Much more restrictive checking when casting form one type to other.
> 4. Exceptions when casting from one type to other inproper type.
> 5. Still ResultSet.getString() for XML will return XML - this spec.
> prohibited
> (X - base type conversion, x - possible conversion, no x - no base and
> possible = no conversion).
> 6. No getPriviliges for metadata - no binary output for ACL!!!
> 7. Many, many tests passed.
> 8. Data reading is faster for all reads (checked with profiler, against
> original driver).
>
> Driver is here http://www.rsmogura.net/pgsql/pgjdbc_exp_20101130_C.tar.gzis
> currently JDK 6 compatible (will be not), compressed patch takes about
> 136kb
> gziped.
>
> Kind regards & have a nice day
> ----------
> Radosław Smogura
> http://www.softperience.eu
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>
^ permalink raw reply [nested|flat] 14+ messages in thread
* Re: [HACKERS] Improved JDBC driver part 2
@ 2010-12-01 11:17 Radosław Smogura <rsmogura@softperience.eu>
parent: Valentine Gogichashvili <valgog@gmail.com>
0 siblings, 0 replies; 14+ messages in thread
From: Radosław Smogura @ 2010-12-01 11:17 UTC (permalink / raw)
To: Valentine Gogichashvili <valgog@gmail.com>; +Cc: Radosław Smogura <mail@smogura.eu>; pgsql-jdbc; Александър Шопов <lists@kambanaria.org>; PG Hackers <pgsql-hackers@postgresql.org>
I've just started small clean up - now it's there.
On Wed, 1 Dec 2010 12:06:19 +0100, Valentine Gogichashvili
<valgog@gmail.com> wrote:
> Hi,
>
> I cannot get the file:
>
> wget http://www.rsmogura.net/pgsql/pgjdbc_exp_20101130_C.tar.gz
> --2010-12-01 12:05:28--
> http://www.rsmogura.net/pgsql/pgjdbc_exp_20101130_C.tar.gz
> Resolving www.rsmogura.net... 64.120.14.83
> Connecting to www.rsmogura.net|64.120.14.83|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2010-12-01 12:05:29 ERROR 404: Not Found.
>
>
> On Tue, Nov 30, 2010 at 7:49 PM, Radosław Smogura <mail@smogura.eu>
wrote:
>
>> Hello,
>>
>> Maybe you are interested about this what I done with JDBC
>>
>> === Original driver (Text mode) ===
>> * Memory *
>> 1. Memory usage improvments when using result set input streams (no
>> uneeded
>> memory copy) - needs few touches for bigger performance.
>> 2. Memory usage improvments for large data, should be no problem to
load
>> 1GB
>> bytea[] when have only 300MB of memory ("threshold" size still
>> hardcoded).
>>
>> * JDBC 4 *
>> 1. XML are now correctly transformed before send to server - previous
>> version
>> used normal text-file transformations that is not enaugh.
>> 2. In all modes (text/binary) XMLs are sended in binary mode, so driver
>> don't
>> need to do special transformation (does it require libxml?), until
>> character
>> streams are used.
>> 3. JDBC4 exception throwing.
>> 4. XML objects are readable only once, you can't reuse it, update form
>> result
>> set (silently set to null on RS.updateRow() - shouldn't be silent)
>> returns
>> null till refreshRow(), but you can write to them after load.
>> 5.Target XML behavior is streaming behavior to don't repeat problems
with
>> bytea.
>>
>> * JDBC 4.1 *
>> 1. Just started.
>>
>> * Others *
>> 1. Few additional test cases. Few utils for XML checking (string equals
>> is
>> too
>> less) no good, but better.
>> 2. Fixed bug, causing inproper time(stamps) encoding for WITH TIME ZONE
>> fields,
>> after changing default time zone.
>>
>> === Binary mode ===
>> 1. Read for almost all data types with arrays.
>> 2. Write for few.
>> 3. Much more restrictive checking when casting form one type to other.
>> 4. Exceptions when casting from one type to other inproper type.
>> 5. Still ResultSet.getString() for XML will return XML - this spec.
>> prohibited
>> (X - base type conversion, x - possible conversion, no x - no base and
>> possible = no conversion).
>> 6. No getPriviliges for metadata - no binary output for ACL!!!
>> 7. Many, many tests passed.
>> 8. Data reading is faster for all reads (checked with profiler, against
>> original driver).
>>
>> Driver is here
>> http://www.rsmogura.net/pgsql/pgjdbc_exp_20101130_C.tar.gzis
>> currently JDK 6 compatible (will be not), compressed patch takes about
>> 136kb
>> gziped.
>>
>> Kind regards & have a nice day
>> ----------
>> Radosław Smogura
>> http://www.softperience.eu
>>
>> --
>> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-hackers
>>
--
----------
Radosław Smogura
http://www.softperience.eu
^ permalink raw reply [nested|flat] 14+ messages in thread
* Re: [HACKERS] Improved JDBC driver part 2
@ 2010-12-01 11:47 Magnus Hagander <magnus@hagander.net>
parent: Radosław Smogura <mail@smogura.eu>
1 sibling, 3 replies; 14+ messages in thread
From: Magnus Hagander @ 2010-12-01 11:47 UTC (permalink / raw)
To: Radosław Smogura <mail@smogura.eu>; +Cc: pgsql-jdbc@postgresql.org, Александър Шопов <lists@kambanaria.org>; PG Hackers <pgsql-hackers@postgresql.org>
On Tue, Nov 30, 2010 at 19:49, Radosław Smogura <mail@smogura.eu> wrote:
> Hello,
>
> Maybe you are interested about this what I done with JDBC
<snip>
> Driver is here http://www.rsmogura.net/pgsql/pgjdbc_exp_20101130_C.tar.gz is
> currently JDK 6 compatible (will be not), compressed patch takes about 136kb
> gziped.
Is there any particular reason why this work can't be maintained as a
branch to the main driver? My understanding is your work is based off
that one? Being able to work like that would make things a lot easier
to review.
That said, such a process would also be a lot easier if the JDBC
driver wasn't in cvs ;)
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/
^ permalink raw reply [nested|flat] 14+ messages in thread
* Re: [HACKERS] Improved JDBC driver part 2
@ 2010-12-01 12:27 Lew <noone@lewscanon.com>
parent: Magnus Hagander <magnus@hagander.net>
2 siblings, 1 reply; 14+ messages in thread
From: Lew @ 2010-12-01 12:27 UTC (permalink / raw)
To: pgsql-jdbc
Magnus Hagander wrote:
> Is there any particular reason why this work can't be maintained as a
> branch to the main driver? My understanding is your work is based off
> that one? Being able to work like that would make things a lot easier
> to review.
>
> That said, such a process would also be a lot easier if the JDBC
> driver wasn't in cvs ;)
Why is that a problem?
--
Lew
^ permalink raw reply [nested|flat] 14+ messages in thread
* Re: [HACKERS] Improved JDBC driver part 2
@ 2010-12-01 13:59 Radosław Smogura <rsmogura@softperience.eu>
parent: Magnus Hagander <magnus@hagander.net>
2 siblings, 0 replies; 14+ messages in thread
From: Radosław Smogura @ 2010-12-01 13:59 UTC (permalink / raw)
To: Magnus Hagander <magnus@hagander.net>; +Cc: Radosław Smogura <mail@smogura.eu>; pgsql-jdbc; Александър Шопов <lists@kambanaria.org>; PG Hackers <pgsql-hackers@postgresql.org>
On Wed, 1 Dec 2010 12:47:13 +0100, Magnus Hagander <magnus@hagander.net>
wrote:
> On Tue, Nov 30, 2010 at 19:49, Radosław Smogura <mail@smogura.eu> wrote:
>> Hello,
>>
>> Maybe you are interested about this what I done with JDBC
>
> <snip>
>
>
>> Driver is here
>> http://www.rsmogura.net/pgsql/pgjdbc_exp_20101130_C.tar.gz is
>> currently JDK 6 compatible (will be not), compressed patch takes about
>> 136kb
>> gziped.
>
> Is there any particular reason why this work can't be maintained as a
> branch to the main driver? My understanding is your work is based off
> that one? Being able to work like that would make things a lot easier
> to review.
Yes, it's based on this, with CVS subfolders in sources. I don't see any
problems to maintain this as branch. Ah only one need to read something
about CVS & branching.
> That said, such a process would also be a lot easier if the JDBC
> driver wasn't in cvs ;)
Yes, SVN is much more nicer.
>
> --
> Magnus Hagander
> Me: http://www.hagander.net/
> Work: http://www.redpill-linpro.com/
--
----------
Radosław Smogura
http://www.softperience.eu
^ permalink raw reply [nested|flat] 14+ messages in thread
* Re: [HACKERS] Improved JDBC driver part 2
@ 2010-12-01 16:06 David Fetter <david@fetter.org>
parent: Magnus Hagander <magnus@hagander.net>
2 siblings, 1 reply; 14+ messages in thread
From: David Fetter @ 2010-12-01 16:06 UTC (permalink / raw)
To: Magnus Hagander <magnus@hagander.net>; +Cc: Radosław Smogura <mail@smogura.eu>; pgsql-jdbc@postgresql.org, Александър Шопов <lists@kambanaria.org>; PG Hackers <pgsql-hackers@postgresql.org>
On Wed, Dec 01, 2010 at 12:47:13PM +0100, Magnus Hagander wrote:
> On Tue, Nov 30, 2010 at 19:49, Radosław Smogura <mail@smogura.eu> wrote:
> > Hello,
> >
> > Maybe you are interested about this what I done with JDBC
>
> <snip>
>
>
> > Driver is here http://www.rsmogura.net/pgsql/pgjdbc_exp_20101130_C.tar.gz is
> > currently JDK 6 compatible (will be not), compressed patch takes about 136kb
> > gziped.
>
> Is there any particular reason why this work can't be maintained as a
> branch to the main driver? My understanding is your work is based off
> that one? Being able to work like that would make things a lot easier
> to review.
>
> That said, such a process would also be a lot easier if the JDBC
> driver wasn't in cvs ;)
This brings up an excellent point. Would the people now developing
the JDBC driver object to switching to git?
Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
^ permalink raw reply [nested|flat] 14+ messages in thread
* Re: [HACKERS] Improved JDBC driver part 2
@ 2010-12-01 16:15 Kevin Grittner <Kevin.Grittner@wicourts.gov>
parent: David Fetter <david@fetter.org>
0 siblings, 1 reply; 14+ messages in thread
From: Kevin Grittner @ 2010-12-01 16:15 UTC (permalink / raw)
To: David Fetter <david@fetter.org>; Magnus Hagander <magnus@hagander.net>; +Cc: lists@kambanaria.org; PG Hackers <pgsql-hackers@postgresql.org>; pgsql-jdbc; mail@smogura.eu
David Fetter <david@fetter.org> wrote:
> Would the people now developing the JDBC driver object to
> switching to git?
If we move to git, don't forget that there is not one repository
which has the entire history for PostgreSQL JDBC -- the current
repository is missing some work, including releases, from one stable
branch. (Was it 7.4?) We'd probably want to merge that in as part
of any conversion effort.
-Kevin
^ permalink raw reply [nested|flat] 14+ messages in thread
* Re: [HACKERS] Improved JDBC driver part 2
@ 2010-12-01 18:05 David Fetter <david@fetter.org>
parent: Kevin Grittner <Kevin.Grittner@wicourts.gov>
0 siblings, 1 reply; 14+ messages in thread
From: David Fetter @ 2010-12-01 18:05 UTC (permalink / raw)
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>; +Cc: Magnus Hagander <magnus@hagander.net>; lists@kambanaria.org, PG Hackers <pgsql-hackers@postgresql.org>; pgsql-jdbc; mail@smogura.eu
On Wed, Dec 01, 2010 at 10:15:38AM -0600, Kevin Grittner wrote:
> David Fetter <david@fetter.org> wrote:
>
> > Would the people now developing the JDBC driver object to
> > switching to git?
>
> If we move to git, don't forget that there is not one repository
> which has the entire history for PostgreSQL JDBC -- the current
> repository is missing some work, including releases, from one stable
> branch. (Was it 7.4?) We'd probably want to merge that in as part
> of any conversion effort.
I guess that depends on our current needs. As pre-split-off JDBC
driver history is already preserved in the main git tree, I'd see
putting the pre-split history into the JDBC tree as less important
than making current and future JDBC development easier, but that's
just me.
Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
^ permalink raw reply [nested|flat] 14+ messages in thread
* Re: [HACKERS] Improved JDBC driver part 2
@ 2010-12-01 18:51 David Fetter <david@fetter.org>
parent: Lew <noone@lewscanon.com>
0 siblings, 1 reply; 14+ messages in thread
From: David Fetter @ 2010-12-01 18:51 UTC (permalink / raw)
To: Lew <noone@lewscanon.com>; +Cc: pgsql-jdbc
On Wed, Dec 01, 2010 at 07:27:59AM -0500, Lew wrote:
> Magnus Hagander wrote:
> >Is there any particular reason why this work can't be maintained as
> >a branch to the main driver? My understanding is your work is
> >based off that one? Being able to work like that would make things
> >a lot easier to review.
> >
> >That said, such a process would also be a lot easier if the JDBC
> >driver wasn't in cvs ;)
>
> Why is that a problem?
Because to an excellent approximation, in practice, CVS does not
actually provide the ability to branch and merge, which means that
patches like Radoslav's are developed pretty much in isolation.
Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
^ permalink raw reply [nested|flat] 14+ messages in thread
* Re: [HACKERS] Improved JDBC driver part 2
@ 2010-12-01 18:56 Tom Lane <tgl@sss.pgh.pa.us>
parent: David Fetter <david@fetter.org>
0 siblings, 0 replies; 14+ messages in thread
From: Tom Lane @ 2010-12-01 18:56 UTC (permalink / raw)
To: David Fetter <david@fetter.org>; +Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>; Magnus Hagander <magnus@hagander.net>; lists@kambanaria.org, PG Hackers <pgsql-hackers@postgresql.org>; pgsql-jdbc; mail@smogura.eu
David Fetter <david@fetter.org> writes:
> On Wed, Dec 01, 2010 at 10:15:38AM -0600, Kevin Grittner wrote:
>> If we move to git, don't forget that there is not one repository
>> which has the entire history for PostgreSQL JDBC -- the current
>> repository is missing some work, including releases, from one stable
>> branch. (Was it 7.4?) We'd probably want to merge that in as part
>> of any conversion effort.
> I guess that depends on our current needs. As pre-split-off JDBC
> driver history is already preserved in the main git tree, I'd see
> putting the pre-split history into the JDBC tree as less important
> than making current and future JDBC development easier, but that's
> just me.
It was difficult enough to get an accurate conversion from cvs to git
when that was the only constraint. Trying to merge some unrelated
history in at the same time seems like a recipe for trouble. I'd
recommend just converting your existing repo and calling it good.
regards, tom lane
^ permalink raw reply [nested|flat] 14+ messages in thread
* Re: [HACKERS] Improved JDBC driver part 2
@ 2010-12-01 23:43 Lew <noone@lewscanon.com>
parent: David Fetter <david@fetter.org>
0 siblings, 2 replies; 14+ messages in thread
From: Lew @ 2010-12-01 23:43 UTC (permalink / raw)
To: pgsql-jdbc
Magnus Hagander wrote:
>>> That said, such a process would also be a lot easier if the JDBC
>>> driver wasn't in cvs ;)
Lew wrote:
>> Why is that a problem?
David Fetter wrote:
> Because to an excellent approximation, in practice, CVS does not
> actually provide the ability to branch and merge, which means that
> patches like Radoslav's are developed pretty much in isolation.
That answer surprises me. Over the last ten years I've used CVS at many jobs,
and I've used it to branch and merge lots of times. I found it roughly
equivalent to, say, subversion in utility for that purpose. In fact, for home
development to this day I use CVS and put IDE-specific files (e.g., NetBeans
"nbproject" directory tree) in a branch away from the trunk.
Well, as they say, YMMV.
--
Lew
^ permalink raw reply [nested|flat] 14+ messages in thread
* Re: [HACKERS] Improved JDBC driver part 2
@ 2010-12-02 00:39 Maciek Sakrejda <msakrejda@truviso.com>
parent: Lew <noone@lewscanon.com>
1 sibling, 0 replies; 14+ messages in thread
From: Maciek Sakrejda @ 2010-12-02 00:39 UTC (permalink / raw)
To: Lew <noone@lewscanon.com>; +Cc: pgsql-jdbc
> Over the last ten years I've used CVS at many jobs, and I've used it to branch and
> merge lots of times. I found it roughly equivalent to, say, subversion in utility for that
> purpose.
That's probably true. I don't think anyone would suggest a move to SVN
at this point.
> Well, as they say, YMMV.
Without getting into a distributed / centralized version control holy
war, as the core PostgreSQL project itself has found, there are major
advantages to the DVCS model for open source projects. It enables
workflows that would lead to a nightmare of merge conflicts with many
other tools (including CVS/SVN). This is part of what has made github
so successful.
I've done a private clone of JDBC CVS with git cvsimport for my work.
I imagine a number of other developers do that too. This is almost
certainly not sufficient for a proper migration, but it's usable. For
what it's worth, right now, it's not causing me any grief to manage my
git clone privately. I'll certainly put in a +1 for git, though.
---
Maciek Sakrejda | System Architect | Truviso
1065 E. Hillsdale Blvd., Suite 215
Foster City, CA 94404
(650) 242-3500 Main
www.truviso.com
^ permalink raw reply [nested|flat] 14+ messages in thread
* Re: [HACKERS] Improved JDBC driver part 2
@ 2010-12-02 01:02 Craig Ringer <craig@postnewspapers.com.au>
parent: Lew <noone@lewscanon.com>
1 sibling, 0 replies; 14+ messages in thread
From: Craig Ringer @ 2010-12-02 01:02 UTC (permalink / raw)
To: Lew <noone@lewscanon.com>; +Cc: pgsql-jdbc
On 12/02/2010 07:43 AM, Lew wrote:
> Magnus Hagander wrote:
>>>> That said, such a process would also be a lot easier if the JDBC
>>>> driver wasn't in cvs ;)
>
> Lew wrote:
>>> Why is that a problem?
>
> David Fetter wrote:
>> Because to an excellent approximation, in practice, CVS does not
>> actually provide the ability to branch and merge, which means that
>> patches like Radoslav's are developed pretty much in isolation.
>
> That answer surprises me. Over the last ten years I've used CVS at many
> jobs, and I've used it to branch and merge lots of times. I found it
> roughly equivalent to, say, subversion in utility for that purpose.
I agree - it's roughly equivalent to svn (though w/o atomic commits).
Both suffer from the problem that interested contributors who have not
been granted commit access cannot branch. They cannot publish their work
with reference to mainline - they have to use patches or just copy the
whole HEAD into their own independent repository. Both options suck when
you want to track upstream HEAD and make sure that the upstream
developers can understand and follow your proposed changes.
I'd love to see JDBC move to git.postgresql.org or github, both to be
consistent with the rest of Pg and to make it easier to contribute.
postgresql is mirrored at github, and the same would make sense for jdbc
- keep the master on git.postgresql.org, mirror at github for easier
branch/fork/pull/merge .
--
Craig Ringer
^ permalink raw reply [nested|flat] 14+ messages in thread
end of thread, other threads:[~2010-12-02 01:02 UTC | newest]
Thread overview: 14+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-11-30 18:49 Improved JDBC driver part 2 Radosław Smogura <mail@smogura.eu>
2010-12-01 11:06 ` Valentine Gogichashvili <valgog@gmail.com>
2010-12-01 11:17 ` Radosław Smogura <rsmogura@softperience.eu>
2010-12-01 11:47 ` Magnus Hagander <magnus@hagander.net>
2010-12-01 12:27 ` Lew <noone@lewscanon.com>
2010-12-01 18:51 ` David Fetter <david@fetter.org>
2010-12-01 23:43 ` Lew <noone@lewscanon.com>
2010-12-02 00:39 ` Maciek Sakrejda <msakrejda@truviso.com>
2010-12-02 01:02 ` Craig Ringer <craig@postnewspapers.com.au>
2010-12-01 13:59 ` Radosław Smogura <rsmogura@softperience.eu>
2010-12-01 16:06 ` David Fetter <david@fetter.org>
2010-12-01 16:15 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
2010-12-01 18:05 ` David Fetter <david@fetter.org>
2010-12-01 18:56 ` Tom Lane <tgl@sss.pgh.pa.us>
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