aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/example/psql.java
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-09-03 02:31:38 +0000
committerBruce Momjian <bruce@momjian.us>1998-09-03 02:31:38 +0000
commit35a945f2b5b2e8f5ba8cbe6d70678c9799504c10 (patch)
tree63d675d8dd5cae2acb31fb7a5b6027b4e415e6a9 /src/interfaces/jdbc/example/psql.java
parentc37adac74e7aced5eb3e562e2fa05b4f07da41e0 (diff)
downloadpostgresql-35a945f2b5b2e8f5ba8cbe6d70678c9799504c10.tar.gz
postgresql-35a945f2b5b2e8f5ba8cbe6d70678c9799504c10.zip
New stuff from Peter Mount for jdbc.
Diffstat (limited to 'src/interfaces/jdbc/example/psql.java')
-rw-r--r--src/interfaces/jdbc/example/psql.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/jdbc/example/psql.java b/src/interfaces/jdbc/example/psql.java
index adad24f4d08..2ad18b198bf 100644
--- a/src/interfaces/jdbc/example/psql.java
+++ b/src/interfaces/jdbc/example/psql.java
@@ -123,7 +123,7 @@ public class psql
if(rs.wasNull())
System.out.print("{null}"+(i<cols?"\t":"\n"));
else
- System.out.print(rs.getObject(i).toString()+(i<cols?"\t":"\n"));
+ System.out.print(o.toString()+(i<cols?"\t":"\n"));
}
}