[libpostgresql-jdbc-java] 27/93: Better COLUMN_TYPE calculation
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Jan 9 10:18:48 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to annotated tag REL9_3_1102
in repository libpostgresql-jdbc-java.
commit 1548c0fb8213fef2464b448a56ee3fdcfa05b3a0
Author: Sergey Ignatov <ignatovs at gmail.com>
Date: Wed Jan 29 18:22:11 2014 +0300
Better COLUMN_TYPE calculation
---
org/postgresql/jdbc2/AbstractJdbc2DatabaseMetaData.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/org/postgresql/jdbc2/AbstractJdbc2DatabaseMetaData.java b/org/postgresql/jdbc2/AbstractJdbc2DatabaseMetaData.java
index ad93ac6..43ba07f 100644
--- a/org/postgresql/jdbc2/AbstractJdbc2DatabaseMetaData.java
+++ b/org/postgresql/jdbc2/AbstractJdbc2DatabaseMetaData.java
@@ -1895,6 +1895,8 @@ public abstract class AbstractJdbc2DatabaseMetaData
columnMode = DatabaseMetaData.procedureColumnOut;
else if (argModes != null && argModes[i].equals("b"))
columnMode = DatabaseMetaData.procedureColumnInOut;
+ else if (argModes != null && argModes[i].equals("t"))
+ columnMode = DatabaseMetaData.procedureColumnReturn;
tuple[4] = connection.encodeString(Integer.toString(columnMode));
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpostgresql-jdbc-java.git
More information about the pkg-java-commits
mailing list