Commit 0b65e143 authored by Bruce Momjian's avatar Bruce Momjian

Add res clear to example

parent 3c0685e4
......@@ -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
}
......
package org.postgresql;
public class DriverClass {
public static String connectClass="org.postgresql.jdbc2.Connection";
public static String connectClass="org.postgresql.jdbc1.Connection";
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment