Add res clear to example

This commit is contained in:
Bruce Momjian 2000-04-26 17:51:03 +00:00
parent 3c0685e423
commit 0b65e1436e
2 changed files with 2 additions and 1 deletions

View File

@ -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
}

View File

@ -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";
}