summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi Inoue2002-07-05 01:31:41 +0000
committerHiroshi Inoue2002-07-05 01:31:41 +0000
commit8831c35a19582184fb4a6e9211b6bb4d6082b4db (patch)
treea43695a26be20074863c9436f38fd87afffc26b9
parent37e37daa035788bc6aac238db66ba8a8993bdbba (diff)
Fix a bug reported by Zhou Han.
-rw-r--r--src/interfaces/odbc/pgtypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/odbc/pgtypes.c b/src/interfaces/odbc/pgtypes.c
index 39b363c743a..6f3d1df3a94 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: