Re: [JDBC] J2SE 1.4 and other patches

2001-10-19 Thread Dave Cramer

Peter,

Yes, that makes a lot of sense. One problem might exist with the
sql.Types 

Jdk 1.4 probably defines extra types which won't be defined in jdk 1.3.

Dave

-Original Message-
From: Peter Eisentraut [mailto:[EMAIL PROTECTED]] 
Sent: October 18, 2001 1:41 PM
To: Joseph Shraibman
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [JDBC] J2SE 1.4 and other patches


Joseph Shraibman writes:

 Right.  And a maintainer needs to make a jdbc3 direcotry and modifiy 
 the ant files to use it when it detects a jdk of 1.4+

Couldn't the JDBC 3 stuff be implemented in the JDBC 2 driver as
extension?  The only reason we have a jdbc1 vs jdbc2 split is so that we
can use jdk 1.2 functionality for the implementation of the JDBC 2
driver.  So unless there is something in jdk 1.3 or 1.4 that is required
or really useful for JDBC 3 we could probably avoid opening up yet
another directory that always gets out of sync.

-- 
Peter Eisentraut   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter



---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]



Re: [JDBC] J2SE 1.4 and other patches

2001-10-18 Thread Peter Eisentraut

Joseph Shraibman writes:

 Right.  And a maintainer needs to make a jdbc3 direcotry and modifiy the ant files 
to use
 it when it detects a jdk of 1.4+

Couldn't the JDBC 3 stuff be implemented in the JDBC 2 driver as
extension?  The only reason we have a jdbc1 vs jdbc2 split is so that we
can use jdk 1.2 functionality for the implementation of the JDBC 2
driver.  So unless there is something in jdk 1.3 or 1.4 that is required
or really useful for JDBC 3 we could probably avoid opening up yet another
directory that always gets out of sync.

-- 
Peter Eisentraut   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter


---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]



Re: [JDBC] J2SE 1.4 and other patches

2001-10-18 Thread Barry Lind

Joseph,

To apply a patch you need to execute cvs commands.  But to submit a 
patch you only need to send the diffs and new files to this list or the 
pgsql-patches email list.

thanks,
--Barry

Joseph Shraibman wrote:

 Don't you need execute cvs commands to add new files?  I guess I don't 
 know.
 
 Barry Lind wrote:
 
 Anyone can do that by submitting a patch.  I don't see anything 
 special that needs to be done.

 --Barry

 Joseph Shraibman wrote:

 Right.  And a maintainer needs to make a jdbc3 direcotry and modifiy 
 the ant files to use it when it detects a jdk of 1.4+


 Dave Cramer wrote:

 What do you see wrong with the build process?

 Ant is used to build the driver!

 Dave

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Joseph Shraibman
 Sent: October 16, 2001 5:45 PM
 To: Rene Pijlman
 Cc: Mark Lillywhite (pg-jdbc); [EMAIL PROTECTED]
 Subject: Re: [JDBC] J2SE 1.4 and other patches


 I think what most needs to be done is for someone to update the build
 process, so people who want to hack code will have somewhere to 
 start from.

 Rene Pijlman wrote:


 On 13 Oct 2001 11:16:07 +1000, you wrote:


 I was just wondering if anyone is working on support for JDK1.4 
 for the postgresql drivers.


 Not AFAIK.



 It appears that there are some new methods defined
 in a few interfaces that need to be implemented (presumably to 
 just throw the unimplemented exception?).


 Do you mean JDBC 3.0 methods? What methods precisely? Are they 
 implementable?



 Also, I have a patch for DatabaseMetaData to fix a bug in the 
 metadata


 returned for BigDecimals. I have already tried to submit this 
 patch 2 or 3 times (to peter@retep) but never heard back. It's 
 only about 4 LOC but it makes introspecting the database much better.

 Is this the place to post a patch, and if I do, am I likely to get 
 a response?


 You can send patches to the [EMAIL PROTECTED] list, 
 preferably with a CC to this list. Yes, you will get a response. 
 Usually, a patch is applied within a week (if the patch is good, of 
 course).

 If a patch to the JDBC driver needs discussion first, that should 
 be on this list.

 Regards,
 René Pijlman [EMAIL PROTECTED]

 ---(end of 
 broadcast)---
 TIP 4: Don't 'kill -9' the postmaster







 
 



---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster



Re: [JDBC] J2SE 1.4 and other patches

2001-10-18 Thread Dave Cramer



Peter,

Yes, that makes a lot of sense. One problem might exist with the
sql.Types 

Jdk 1.4 probably defines extra types which won't be defined in jdk 1.3.

Dave

-Original Message-
From: Peter Eisentraut [mailto:[EMAIL PROTECTED]] 
Sent: October 18, 2001 1:41 PM
To: Joseph Shraibman
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [JDBC] J2SE 1.4 and other patches


Joseph Shraibman writes:

 Right.  And a maintainer needs to make a jdbc3 direcotry and modifiy
 the ant files to use it when it detects a jdk of 1.4+

Couldn't the JDBC 3 stuff be implemented in the JDBC 2 driver as
extension?  The only reason we have a jdbc1 vs jdbc2 split is so that we
can use jdk 1.2 functionality for the implementation of the JDBC 2
driver.  So unless there is something in jdk 1.3 or 1.4 that is required
or really useful for JDBC 3 we could probably avoid opening up yet
another directory that always gets out of sync.

-- 
Peter Eisentraut   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter



---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])



Re: [JDBC] J2SE 1.4 and other patches

2001-10-17 Thread Dave Cramer

Ok, what specifically in jdbc 3.0 do people want implemented?

All of the callable statement stuff is not applicable to postgres

Dave

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Barry Lind
Sent: October 17, 2001 12:53 AM
To: Joseph Shraibman
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [JDBC] J2SE 1.4 and other patches


Anyone can do that by submitting a patch.  I don't see anything special 
that needs to be done.

--Barry

Joseph Shraibman wrote:

 Right.  And a maintainer needs to make a jdbc3 direcotry and modifiy 
 the
 ant files to use it when it detects a jdk of 1.4+
 
 
 Dave Cramer wrote:
 
 What do you see wrong with the build process?

 Ant is used to build the driver!

 Dave

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On Behalf Of Joseph 
 Shraibman
 Sent: October 16, 2001 5:45 PM
 To: Rene Pijlman
 Cc: Mark Lillywhite (pg-jdbc); [EMAIL PROTECTED]
 Subject: Re: [JDBC] J2SE 1.4 and other patches


 I think what most needs to be done is for someone to update the build

 process, so people who want to hack code will have somewhere to start

 from.

 Rene Pijlman wrote:


 On 13 Oct 2001 11:16:07 +1000, you wrote:


 I was just wondering if anyone is working on support for JDK1.4 for
 the postgresql drivers.


 Not AFAIK.



 It appears that there are some new methods defined
 in a few interfaces that need to be implemented (presumably to just
 throw the unimplemented exception?).


 Do you mean JDBC 3.0 methods? What methods precisely? Are they
 implementable?



 Also, I have a patch for DatabaseMetaData to fix a bug in the 
 metadata


 returned for BigDecimals. I have already tried to submit this patch
 2 or 3 times (to peter@retep) but never heard back. It's only about

 4 LOC but it makes introspecting the database much better.

 Is this the place to post a patch, and if I do, am I likely to get 
 a
 response?


 You can send patches to the [EMAIL PROTECTED] list,
 preferably with a CC to this list. Yes, you will get a response. 
 Usually, a patch is applied within a week (if the patch is good, of 
 course).

 If a patch to the JDBC driver needs discussion first, that should be
 on this list.

 Regards,
 René Pijlman [EMAIL PROTECTED]

 ---(end of 
 broadcast)---
 TIP 4: Don't 'kill -9' the postmaster




 
 



---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster



Re: [JDBC] J2SE 1.4 and other patches

2001-10-17 Thread Per-Olof Norén


- Original Message -
From: Dave Cramer [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, October 17, 2001 1:29 PM
Subject: Re: [JDBC] J2SE 1.4 and other patches


 Ok, what specifically in jdbc 3.0 do people want implemented?

I personally would like the java.sql.Blob.getBinaryStream() to actually
return a Stream with content.
Right now I havn´t got the time to investigate further, but code working
against Oracle, returns -1 from the first read() from the stream when run
agains pgsql.
This is probably not the correct forum, but perhaps someone could forward
this problem to initiated source

Regards
Per-Olof Norén


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster



Re: [JDBC] J2SE 1.4 and other patches

2001-10-17 Thread Joseph Shraibman

Don't you need execute cvs commands to add new files?  I guess I don't know.

Barry Lind wrote:

 Anyone can do that by submitting a patch.  I don't see anything special 
 that needs to be done.
 
 --Barry
 
 Joseph Shraibman wrote:
 
 Right.  And a maintainer needs to make a jdbc3 direcotry and modifiy 
 the ant files to use it when it detects a jdk of 1.4+


 Dave Cramer wrote:

 What do you see wrong with the build process?

 Ant is used to build the driver!

 Dave

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Joseph Shraibman
 Sent: October 16, 2001 5:45 PM
 To: Rene Pijlman
 Cc: Mark Lillywhite (pg-jdbc); [EMAIL PROTECTED]
 Subject: Re: [JDBC] J2SE 1.4 and other patches


 I think what most needs to be done is for someone to update the build
 process, so people who want to hack code will have somewhere to start 
 from.

 Rene Pijlman wrote:


 On 13 Oct 2001 11:16:07 +1000, you wrote:


 I was just wondering if anyone is working on support for JDK1.4 for 
 the postgresql drivers.


 Not AFAIK.



 It appears that there are some new methods defined
 in a few interfaces that need to be implemented (presumably to just 
 throw the unimplemented exception?).


 Do you mean JDBC 3.0 methods? What methods precisely? Are they 
 implementable?



 Also, I have a patch for DatabaseMetaData to fix a bug in the metadata


 returned for BigDecimals. I have already tried to submit this patch 
 2 or 3 times (to peter@retep) but never heard back. It's only about 
 4 LOC but it makes introspecting the database much better.

 Is this the place to post a patch, and if I do, am I likely to get 
 a response?


 You can send patches to the [EMAIL PROTECTED] list, 
 preferably with a CC to this list. Yes, you will get a response. 
 Usually, a patch is applied within a week (if the patch is good, of 
 course).

 If a patch to the JDBC driver needs discussion first, that should be 
 on this list.

 Regards,
 René Pijlman [EMAIL PROTECTED]

 ---(end of 
 broadcast)---
 TIP 4: Don't 'kill -9' the postmaster






 


-- 
Joseph Shraibman
[EMAIL PROTECTED]
Increase signal to noise ratio.  http://www.targabot.com


---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Re: [JDBC] J2SE 1.4 and other patches

2001-10-17 Thread Barry Lind

This really doesn't have anything to do with 1.4.  If you think you have 
a bug, please send an email to the list with instructions on how to 
reproduce (and a test case showing the problem that could be compiled 
and run would be really great as well).  Or even better get the source 
code and debug the problem and submit a patch.  After all that is what 
open source projects are all about.

thanks,
--Barry

Per-Olof Norén wrote:

 - Original Message -
 From: Dave Cramer [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Wednesday, October 17, 2001 1:29 PM
 Subject: Re: [JDBC] J2SE 1.4 and other patches
 
 
 
Ok, what specifically in jdbc 3.0 do people want implemented?

 
 I personally would like the java.sql.Blob.getBinaryStream() to actually
 return a Stream with content.
 Right now I havn´t got the time to investigate further, but code working
 against Oracle, returns -1 from the first read() from the stream when run
 agains pgsql.
 This is probably not the correct forum, but perhaps someone could forward
 this problem to initiated source
 
 Regards
 Per-Olof Norén
 
 
 ---(end of broadcast)---
 TIP 4: Don't 'kill -9' the postmaster
 
 



---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Re: [JDBC] J2SE 1.4 and other patches

2001-10-16 Thread Dave Cramer

What do you see wrong with the build process?

Ant is used to build the driver!

Dave

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Joseph Shraibman
Sent: October 16, 2001 5:45 PM
To: Rene Pijlman
Cc: Mark Lillywhite (pg-jdbc); [EMAIL PROTECTED]
Subject: Re: [JDBC] J2SE 1.4 and other patches


I think what most needs to be done is for someone to update the build
process, so people 
who want to hack code will have somewhere to start from.

Rene Pijlman wrote:

 On 13 Oct 2001 11:16:07 +1000, you wrote:
 
I was just wondering if anyone is working on support for JDK1.4 for 
the postgresql drivers.

 
 Not AFAIK.
 
 
It appears that there are some new methods defined
in a few interfaces that need to be implemented (presumably to just 
throw the unimplemented exception?).

 
 Do you mean JDBC 3.0 methods? What methods precisely? Are they 
 implementable?
 
 
Also, I have a patch for DatabaseMetaData to fix a bug in the metadata

returned for BigDecimals. I have already tried to submit this patch 2 
or 3 times (to peter@retep) but never heard back. It's only about 4 
LOC but it makes introspecting the database much better.

Is this the place to post a patch, and if I do, am I likely to get a 
response?

 
 You can send patches to the [EMAIL PROTECTED] list, 
 preferably with a CC to this list. Yes, you will get a response. 
 Usually, a patch is applied within a week (if the patch is good, of 
 course).
 
 If a patch to the JDBC driver needs discussion first, that should be 
 on this list.
 
 Regards,
 René Pijlman [EMAIL PROTECTED]
 
 ---(end of 
 broadcast)---
 TIP 4: Don't 'kill -9' the postmaster
 


-- 
Joseph Shraibman
[EMAIL PROTECTED]
Increase signal to noise ratio.  http://www.targabot.com


---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])



Re: [JDBC] J2SE 1.4 and other patches

2001-10-16 Thread Joseph Shraibman

FYI To see what's new:
http://java.sun.com/j2se/1.4/docs/relnotes/features.html#jdbc




-- 
Joseph Shraibman
[EMAIL PROTECTED]
Increase signal to noise ratio.  http://www.targabot.com


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



Re: [JDBC] J2SE 1.4 and other patches

2001-10-16 Thread Joseph Shraibman

Right.  And a maintainer needs to make a jdbc3 direcotry and modifiy the ant files to 
use 
it when it detects a jdk of 1.4+


Dave Cramer wrote:

 What do you see wrong with the build process?
 
 Ant is used to build the driver!
 
 Dave
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Joseph Shraibman
 Sent: October 16, 2001 5:45 PM
 To: Rene Pijlman
 Cc: Mark Lillywhite (pg-jdbc); [EMAIL PROTECTED]
 Subject: Re: [JDBC] J2SE 1.4 and other patches
 
 
 I think what most needs to be done is for someone to update the build
 process, so people 
 who want to hack code will have somewhere to start from.
 
 Rene Pijlman wrote:
 
 
On 13 Oct 2001 11:16:07 +1000, you wrote:


I was just wondering if anyone is working on support for JDK1.4 for 
the postgresql drivers.


Not AFAIK.



It appears that there are some new methods defined
in a few interfaces that need to be implemented (presumably to just 
throw the unimplemented exception?).


Do you mean JDBC 3.0 methods? What methods precisely? Are they 
implementable?



Also, I have a patch for DatabaseMetaData to fix a bug in the metadata

 
returned for BigDecimals. I have already tried to submit this patch 2 
or 3 times (to peter@retep) but never heard back. It's only about 4 
LOC but it makes introspecting the database much better.

Is this the place to post a patch, and if I do, am I likely to get a 
response?


You can send patches to the [EMAIL PROTECTED] list, 
preferably with a CC to this list. Yes, you will get a response. 
Usually, a patch is applied within a week (if the patch is good, of 
course).

If a patch to the JDBC driver needs discussion first, that should be 
on this list.

Regards,
René Pijlman [EMAIL PROTECTED]

---(end of 
broadcast)---
TIP 4: Don't 'kill -9' the postmaster


 
 


-- 
Joseph Shraibman
[EMAIL PROTECTED]
Increase signal to noise ratio.  http://www.targabot.com


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster



Re: [JDBC] J2SE 1.4 and other patches

2001-10-16 Thread Barry Lind

Anyone can do that by submitting a patch.  I don't see anything special 
that needs to be done.

--Barry

Joseph Shraibman wrote:

 Right.  And a maintainer needs to make a jdbc3 direcotry and modifiy the 
 ant files to use it when it detects a jdk of 1.4+
 
 
 Dave Cramer wrote:
 
 What do you see wrong with the build process?

 Ant is used to build the driver!

 Dave

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Joseph Shraibman
 Sent: October 16, 2001 5:45 PM
 To: Rene Pijlman
 Cc: Mark Lillywhite (pg-jdbc); [EMAIL PROTECTED]
 Subject: Re: [JDBC] J2SE 1.4 and other patches


 I think what most needs to be done is for someone to update the build
 process, so people who want to hack code will have somewhere to start 
 from.

 Rene Pijlman wrote:


 On 13 Oct 2001 11:16:07 +1000, you wrote:


 I was just wondering if anyone is working on support for JDK1.4 for 
 the postgresql drivers.


 Not AFAIK.



 It appears that there are some new methods defined
 in a few interfaces that need to be implemented (presumably to just 
 throw the unimplemented exception?).


 Do you mean JDBC 3.0 methods? What methods precisely? Are they 
 implementable?



 Also, I have a patch for DatabaseMetaData to fix a bug in the metadata


 returned for BigDecimals. I have already tried to submit this patch 
 2 or 3 times (to peter@retep) but never heard back. It's only about 
 4 LOC but it makes introspecting the database much better.

 Is this the place to post a patch, and if I do, am I likely to get a 
 response?


 You can send patches to the [EMAIL PROTECTED] list, 
 preferably with a CC to this list. Yes, you will get a response. 
 Usually, a patch is applied within a week (if the patch is good, of 
 course).

 If a patch to the JDBC driver needs discussion first, that should be 
 on this list.

 Regards,
 René Pijlman [EMAIL PROTECTED]

 ---(end of broadcast)---
 TIP 4: Don't 'kill -9' the postmaster




 
 



---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



Re: [JDBC] J2SE 1.4 and other patches

2001-10-16 Thread Joseph Shraibman

I think what most needs to be done is for someone to update the build process, so 
people 
who want to hack code will have somewhere to start from.

Rene Pijlman wrote:

 On 13 Oct 2001 11:16:07 +1000, you wrote:
 
I was just wondering if anyone is working on support for JDK1.4 for the
postgresql drivers. 

 
 Not AFAIK. 
 
 
It appears that there are some new methods defined
in a few interfaces that need to be implemented (presumably to just
throw the unimplemented exception?).

 
 Do you mean JDBC 3.0 methods? What methods precisely? Are they
 implementable?
 
 
Also, I have a patch for DatabaseMetaData to fix a bug in the metadata
returned for BigDecimals. I have already tried to submit this patch 2 or
3 times (to peter@retep) but never heard back. It's only about 4 LOC but
it makes introspecting the database much better.

Is this the place to post a patch, and if I do, am I likely to get a
response?

 
 You can send patches to the [EMAIL PROTECTED] list,
 preferably with a CC to this list. Yes, you will get a response.
 Usually, a patch is applied within a week (if the patch is good,
 of course).
 
 If a patch to the JDBC driver needs discussion first, that
 should be on this list.
 
 Regards,
 René Pijlman [EMAIL PROTECTED]
 
 ---(end of broadcast)---
 TIP 4: Don't 'kill -9' the postmaster
 


-- 
Joseph Shraibman
[EMAIL PROTECTED]
Increase signal to noise ratio.  http://www.targabot.com


---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



[JDBC] J2SE 1.4 and other patches

2001-10-12 Thread Lillywhite (pg-jdbc)

Hi jdbcsters,

I was just wondering if anyone is working on support for JDK1.4 for the
postgresql drivers. It appears that there are some new methods defined
in a few interfaces that need to be implemented (presumably to just
throw the unimplemented exception?).

If noone is already working in this then I am happy to look into it
(though I can't promise to fix it, depends on time).

Also, I have a patch for DatabaseMetaData to fix a bug in the metadata
returned for BigDecimals. I have already tried to submit this patch 2 or
3 times (to peter@retep) but never heard back. It's only about 4 LOC but
it makes introspecting the database much better.

Is this the place to post a patch, and if I do, am I likely to get a
response?

Cheers!
Mark


---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]