mirror of https://github.com/postgres/postgres
Add res clear to example
This commit is contained in:
parent
3c0685e423
commit
0b65e1436e
|
@ -10,6 +10,7 @@ proc getDBs { {host "localhost"} {port "5432"} } {
|
|||
for {set i 0} {$i < $ntups} {incr i} {
|
||||
lappend datnames [pg_result $res -getTuple $i]
|
||||
}
|
||||
pg_result $res -clear
|
||||
pg_disconnect $conn
|
||||
return $datnames
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.postgresql;
|
||||
public class DriverClass {
|
||||
public static String connectClass="org.postgresql.jdbc2.Connection";
|
||||
public static String connectClass="org.postgresql.jdbc1.Connection";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue