summaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/odbc/convert.c2
-rw-r--r--src/interfaces/odbc/pgtypes.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/odbc/convert.c b/src/interfaces/odbc/convert.c
index 09d27d3e047..a4f1487e868 100644
--- a/src/interfaces/odbc/convert.c
+++ b/src/interfaces/odbc/convert.c
@@ -209,7 +209,7 @@ char tempBuf[TEXT_FIELD_SIZE+5];
break;
/* This is for internal use by SQLStatistics() */
- case PG_TYPE_INT28: {
+ case PG_TYPE_INT2VECTOR: {
// this is an array of eight integers
short *short_array = (short *) ( (char *) rgbValue + rgbValueOffset);
diff --git a/src/interfaces/odbc/pgtypes.h b/src/interfaces/odbc/pgtypes.h
index 3d97dec8c40..52b7a4a0c97 100644
--- a/src/interfaces/odbc/pgtypes.h
+++ b/src/interfaces/odbc/pgtypes.h
@@ -24,7 +24,7 @@
#define PG_TYPE_NAME 19
#define PG_TYPE_CHAR16 20
#define PG_TYPE_INT2 21
-#define PG_TYPE_INT28 22
+#define PG_TYPE_INT2VECTOR 22
#define PG_TYPE_INT4 23
#define PG_TYPE_REGPROC 24
#define PG_TYPE_TEXT 25
@@ -32,7 +32,7 @@
#define PG_TYPE_TID 27
#define PG_TYPE_XID 28
#define PG_TYPE_CID 29
-#define PG_TYPE_OID8 30
+#define PG_TYPE_OIDVECTOR 30
#define PG_TYPE_SET 32
#define PG_TYPE_CHAR2 409
#define PG_TYPE_CHAR4 410