
[PATCH] Implement quote_byte_array for do_postgres over JDBC
Reported by Peter Brant | October 1st, 2009 @ 09:27 PM
The attached patch implements quote_byte_array for do_postgres over JDBC. It's mostly a direct translation from the equivalent code in libpq. I had to modify afterConnectionCallback()'s signature to stash the standard_conforming_strings run-time parameter in the Connection. I've updated do_oracle to match, but I don't have the Oracle JDBC driver to compile against (to say nothing of an actual Oracle database).
Comments and changes to this ticket
-
Peter Brant October 2nd, 2009 @ 05:41 PM
A new patch that properly handles Java's signed bytes. Specs added.
-
Alex Coles October 3rd, 2009 @ 04:51 AM
- State changed from new to unconfirmed
Patch applied. Thank you v. much. Not all of the developers are able to compile/test against Oracle and we don't have it setup in CI yet, but hopefully rsim will be able to take a look and check this hasn't caused a regression.
Its not a problem to modify the DriverDefinition API. I'm happy to consider refactoring, provided its before a 1.0 release, and all implementations are updated correspondingly.
-
Alex Coles October 3rd, 2009 @ 04:51 AM
- State changed from unconfirmed to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »