Skip to content
Snippets Groups Projects
Commit 0b65e143 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Add res clear to example

parent 3c0685e4
No related branches found
No related tags found
No related merge requests found
......@@ -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";
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment