Fix a bug reported by Zhou Han.
authorHiroshi Inoue
Fri, 5 Jul 2002 01:31:41 +0000 (01:31 +0000)
committerHiroshi Inoue
Fri, 5 Jul 2002 01:31:41 +0000 (01:31 +0000)
src/interfaces/odbc/pgtypes.c

index 39b363c743a28ff051e5aa8b02c988bd37ee7bf8..6f3d1df3a942db6ae0bcef69642b0fc4408cbe44 100644 (file)
@@ -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: