Hello,
This is patch for handle JDBC for autocommit=false in postgresql.conf
Patch set autocommit mode to true (on) for JDBC compliant.
--- AbstractJdbc1Connection.java.orig Tue Sep 17 02:23:49 2002
+++ AbstractJdbc1Connection.java Tue Sep 17 02:27:52 2002
@@ -366,6 +366,11 @@
// Initialise object handling
initObjectTypes();
+ // handle autocommit=false in postgresql.conf
+ if (haveMinimumServerVersion("7.3")) {
+ ExecSQL("set autocommit to on; commit;");
+ }
+
// Mark the connection as ok, and cleanup
PG_STATUS = CONNECTION_OK;
}
regards
Haris Peco