summaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2000-01-10 16:13:23 +0000
committerBruce Momjian <bruce@momjian.us>2000-01-10 16:13:23 +0000
commit6456b17bc1c60ec8d8f4ca08ddebaefad519afc7 (patch)
treea6cb66b7e40467d14b6c7e38719ffcb8813318d0 /src/interfaces
parent3f03f74f3651cd2ded9899f5aa2a928ca8e0d480 (diff)
Rename oid8 -> oidvector and int28 -> int2vector. Cleanup of *out functions.
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