Here is a patch for DatabaseMetaData to show precision properly. It is
from Mark Lillywhite. I am adding to the patch queue.
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830
The patch is missing the corresponding fix for
jdbc1/DatabaseMetaData.java. Can you resubmit the patch with a fix for
both occurances of the problem? Otherwise the fix looks fine.
I have applied the jdbc2 version. It would be nice to have a jdbc1
version too. Thanks.
--
Bruce
.
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill, Pennsylvania 19026
Index: org/postgresql/jdbc2
.
Suggestions/comments welcome.
There is no patch attached. Also, have you checkes our current
CVS/snapshots to make sure this is still a problem?
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard
to stay out
of this discussion for now.
Virtually,
Ned Wolpert [EMAIL PROTECTED]
D08C2F45: 28E7 56CB 58AC C622 5A51 3C42 8B2B 2739 D08C 2F45
-- End of PGP signed section.
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853
, then yes, use Ant to achive platform-independance.
One significant issue here is that unlike our other binaries, the JAR
files run on any platform so they don't really need to compile in MS
Win. They can just download it from a web site or we could ship the
jdbc JAR ourselves.
--
Bruce Momjian
for it.
I think I can safely at to TODO:
JDBC
o Move from Ant to Make builds
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup
Hello,
When I retrive pgsql-jdbc source use:
cvs -d :pserver:[EMAIL PROTECTED]:/home/projects/pgsql/cvsroot
password: postgresql
The cvs server report: authorization failed.
New location is:
:pserver:[EMAIL PROTECTED]:/projects/cvsroot
--
Bruce Momjian
: Have you searched our list archives?
http://archives.postgresql.org
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel
Canada, Ltd. :: [EMAIL PROTECTED]
[ Attachment, skipping... ]
---(end of broadcast)---
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL
... ]
---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ
).
As always, the JDBC1 version has not been tested as I have no JDK 1.1
available.
Please review,
Jeroen
[ Attachment, skipping... ]
---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster
--
Bruce Momjian
... ]
---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
)---
TIP 6: Have you searched our list archives?
http://www.postgresql.org/search.mpl
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
, skipping... ]
---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL
://miranda.org/~ola
---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly
--
Bruce
OK, patch applied.
Bruce,
This patch is fine.
thanks,
--Barry
Bruce Momjian wrote:
I noticed that jdbc1 getBoolean allows '1', while jdbc2 does not. The
following patch makes jdbc2 accept '1' also. Is this OK
in the specification. The patch is against the latest
CVS.
Cheers,
Tom.
[ Attachment, skipping... ]
---(end of broadcast)---
TIP 6: Have you searched our list archives?
http://www.postgresql.org/search.mpl
--
Bruce Momjian
/crypt.html
(Sorry, I can't find a replacement page.)
Thanks.
Hiroyuki Yatabe([EMAIL PROTECTED])
Software Research Associates, Inc.
---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
--
Bruce
]
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill, Pennsylvania 19026
---(end of broadcast
] so that your
message can get through to the mailing list cleanly
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel
, skipping... ]
---(end of broadcast)---
TIP 6: Have you searched our list archives?
http://www.postgresql.org/search.mpl
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
)---
TIP 6: Have you searched our list archives?
http://www.postgresql.org/search.mpl
[ Attachment, skipping... ]
---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
--
Bruce Momjian
to specify which single byte
character set a database is using (unless you compile with multibyte).
thanks,
--Barry
Bruce Momjian wrote:
I can add something if people agree there is an issue here.
I've added a new section Character encoding to
http://lab.applinet.nl
list archives?
http://www.postgresql.org/search.mpl
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill
byte character set is being used even when multibyte
isn't enabled. Currently there is no way to specify which single byte
character set a database is using (unless you compile with multibyte).
thanks,
--Barry
Bruce Momjian wrote:
I can add something if people agree there is an issue
... ]
---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
]
[ Attachment, skipping... ]
---(end of broadcast)---
TIP 6: Have you searched our list archives?
http://www.postgresql.org/search.mpl
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED
)---
TIP 6: Have you searched our list archives?
http://www.postgresql.org/search.mpl
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup
Thanks for the votes of confidence. I am willing to take on the
responsibility if the core committee agrees.
Yes, we do. We don't know Java very well and are struggling. It would
be nice to have someone who actually know the language applying the
patches. :-)
--
Bruce Momjian
PROTECTED]
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill, Pennsylvania 19026
? Pijlman [EMAIL PROTECTED]
[ Attachment, skipping... ]
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill
PROTECTED]
Increase signal to noise ratio. http://www.targabot.com
---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])
--
Bruce Momjian
.
postgresql.unexpected:Un risultato inaspettato ? stato ricevuto dalla query.
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel
message can get through to the mailing list cleanly
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill, Pennsylvania
that you can configure?
Also, Is there a real Website for the postgres jdbc driver?
http://jdbc.postgresql.org seems a little outdated.
I wouldn't mind being able to grab the source for the driver and putting in
this small fix myself.
http://jdbc.fastcrypt.com
--
Bruce Momjian
PROTECTED]
---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly
--
Bruce Momjian
for procedural overhead.
Agreed. If the committer is in the team of certified reviewers
and is willing to review patches, our procedures are basically
the same.
Any committing assistance would be greatly appreciated, especially for
jdbc.
--
Bruce Momjian| http
]
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill, Pennsylvania 19026
---(end of broadcast
for completeness. jdbc
people, tell me what you want done in the future.
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup
, skipping... ]
[ Attachment, skipping... ]
---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html
--
Bruce Momjian| http://candle.pha.pa.us
)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED
YourEmailAddressHere to [EMAIL PROTECTED])
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill, Pennsylvania 19026
... ]
---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED
the
same way
Dave
[ Attachment, skipping... ]
---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED
.
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill, Pennsylvania 19026
---(end
: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill
)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life
message can get through to the mailing list cleanly
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill
)---
TIP 4: Don't 'kill -9' the postmaster
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill
SQL statement.
Please review.
Regards,
Jeroen
[ Attachment, skipping... ]
---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
--
Bruce Momjian| http
if I
confused things.
--Barry
Bruce Momjian wrote:
Can someone suggest what is to be done with the propsed patch?
What exactly is the behaviour of the backend in that scenario?
Does it commit every separate SQL statement in the
semicolon-separated list, or does it commit
org.postgresql.PrivilegedActionException not found in type
declaration.
[javac] catch(PrivilegedActionException pae){
[javac]^
[javac] 3 errors
BUILD FAILED
Bruce Momjian wrote:
Patch applied. Thanks.
I am sorry to keep going back and forth
Quoting Bruce Momjian [EMAIL PROTECTED]:
The other reason for telling people who are experiencing problems
with
the driver to get the latest version is that their bug has probably
already been fixed.
However a certain degree of caution should probably be exercised
here
for that interface.
Can you do a 'cvs log' of the jdbc directory and update that file?
Don't worry about the date because this will all be in 7.2.
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive
we have fixed
in jdbc since 7.1.2 version so I am telling people to get the CVS
version even if I am not sure it is fixed in there.
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830
have an active jdbc community of
coders and testers.
Also, keep in mind most patches aren't backpatched for reliability
reasons.
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830
Bruce,
I just checked out the source from cvs and it compiles the version 2
drivers fine. Version 1 drivers need some work..
Yes, it compiles now fine too. Must have been that last patch that
fixed it.
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL
://www.postgresql.org/users-lounge/docs/faq.html
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill, Pennsylvania 19026
://www.postgresql.org/search.mpl
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill, Pennsylvania 19026
that your
message can get through to the mailing list cleanly
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill
]
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill, Pennsylvania 19026
---(end of broadcast
/pgsql/src/interfaces/jdbc/org/postgresql/Co
nnection.java,v
retrieving revision 1.21
diff -f -r1.21 Connection.java
c1039 1040
info.put(user, PG_USER);
info.put(password, PG_PASSWORD);
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL
website.
Marc, Vince, and others are working on it now.
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill
[EMAIL PROTECTED]
Stockholm, Sweden
Content-Description:
[ Attachment, skipping... ]
---(end of broadcast)---
TIP 6: Have you searched our list archives?
http://www.postgresql.org/search.mpl
--
Bruce Momjian
)---
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe
checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup
to the specified catalog.
Thanks,
Jason Davies
[EMAIL PROTECTED]
[ Attachment, skipping... ]
---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html
--
Bruce Momjian
of CVS which should fix it.
Jason Davies
[EMAIL PROTECTED]
[ Attachment, skipping... ]
---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html
--
Bruce Momjian
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
On Sun, 15 Jul 2001, Bruce Momjian wrote:
I am having trouble applying this patch to the current CVS tree
Old removed.
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
On Thu, 12 Jul 2001, Bruce Momjian wrote:
Your patch has been added to the PostgreSQL unapplied patches
)---
TIP 4: Don't 'kill -9' the postmaster
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill
I am Cc'ing the jdbc list.
[[[ Original Message from Bruce Momjian [EMAIL PROTECTED] ]]]
Just send over a context diff patch, either against 7.1.2 or CVS.
Okay here's a context diff against CVS for getting table privileges. I may have more
code to add (I noticed getColumnPrivileges
:
http://jdbc.fastcrypt.com
or an older version? I hope it is at least 7.1.X.
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your
in the jdbc driver.
I guess the issue is the ability to return the primary key from an
inserted row, for cases that it's auto-generated, such as using the
serial type.
Certainly the portable solution is to get RETURNING into the backend so
you can decide what you want to return.
--
Bruce
[EMAIL PROTECTED]
Senior Programmer
PeopleWeb Australia http://www.peopleweb.com
[ Attachment, skipping... ]
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
76 matches
Mail list logo