From 8831c35a19582184fb4a6e9211b6bb4d6082b4db Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Fri, 5 Jul 2002 01:31:41 +0000 Subject: [PATCH] Fix a bug reported by Zhou Han. --- src/interfaces/odbc/pgtypes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/odbc/pgtypes.c b/src/interfaces/odbc/pgtypes.c index 39b363c743..6f3d1df3a9 100644 --- a/src/interfaces/odbc/pgtypes.c +++ b/src/interfaces/odbc/pgtypes.c @@ -1320,7 +1320,7 @@ pgtype_create_params(StatementClass *stmt, Int4 type) { switch (type) { - case PG_TYPE_CHAR: + case PG_TYPE_BPCHAR: case PG_TYPE_VARCHAR: return "max. length"; default: -- 2.40.0