Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0b65e14

Browse files
committed
Add res clear to example
1 parent 3c0685e commit 0b65e14

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/bin/pgtclsh/pgtclUtils.tcl

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ proc getDBs { {host "localhost"} {port "5432"} } {
1010
for {set i 0} {$i < $ntups} {incr i} {
1111
lappend datnames [pg_result $res -getTuple $i]
1212
}
13+
pg_result $res -clear
1314
pg_disconnect $conn
1415
return $datnames
1516
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
package org.postgresql;
22
public class DriverClass {
3-
public static String connectClass="org.postgresql.jdbc2.Connection";
3+
public static String connectClass="org.postgresql.jdbc1.Connection";
44
}

0 commit comments

Comments
 (0)