We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf4d9c4 commit b3627d1Copy full SHA for b3627d1
src/interfaces/ecpg/ecpglib/typename.c
@@ -1,4 +1,4 @@
1
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/typename.c,v 1.17 2010/01/13 08:41:48 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/typename.c,v 1.18 2010/01/13 09:06:51 meskes Exp $ */
2
3
#define POSTGRES_ECPG_INTERNAL
4
#include "postgres_fe.h"
@@ -136,7 +136,8 @@ sqlda_dynamic_type(Oid type, enum COMPAT_MODE compat)
136
#ifdef HAVE_LONG_INT_64
137
return ECPGt_long;
138
#endif
139
+ /* Unhandled types always return a string */
140
default:
- return (-type);
141
+ return ECPGt_char;
142
}
143
0 commit comments