aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-02-11 13:58:12 +0000
committerBruce Momjian <bruce@momjian.us>2001-02-11 13:58:12 +0000
commit72f3b9fce91cd54e68d9b022fbc4d465f73efdd7 (patch)
treed16f0fb6d0e98aa6500907b269efdac096c39d56
parent9c891acd52973cb715dd820540710d0fdfafbf32 (diff)
downloadpostgresql-72f3b9fce91cd54e68d9b022fbc4d465f73efdd7.tar.gz
postgresql-72f3b9fce91cd54e68d9b022fbc4d465f73efdd7.zip
More cleanups.
-rw-r--r--src/interfaces/odbc/connection.h12
-rw-r--r--src/interfaces/odbc/isql.h10
-rw-r--r--src/interfaces/odbc/isqlext.h4
3 files changed, 13 insertions, 13 deletions
diff --git a/src/interfaces/odbc/connection.h b/src/interfaces/odbc/connection.h
index 75df0ed9f87..706420ef568 100644
--- a/src/interfaces/odbc/connection.h
+++ b/src/interfaces/odbc/connection.h
@@ -29,12 +29,12 @@
typedef enum
{
- CONN_NOT_CONNECTED, /* Connection has not been established */
- CONN_CONNECTED, /* Connection is up and has been
- * established */
- CONN_DOWN, /* Connection is broken */
- CONN_EXECUTING /* the connection is currently executing a
- * statement */
+ CONN_NOT_CONNECTED, /* Connection has not been established */
+ CONN_CONNECTED, /* Connection is up and has been
+ * established */
+ CONN_DOWN, /* Connection is broken */
+ CONN_EXECUTING /* the connection is currently executing a
+ * statement */
} CONN_Status;
/* These errors have general sql error state */
diff --git a/src/interfaces/odbc/isql.h b/src/interfaces/odbc/isql.h
index adf8bd922e8..5365ddd7af9 100644
--- a/src/interfaces/odbc/isql.h
+++ b/src/interfaces/odbc/isql.h
@@ -30,11 +30,11 @@ typedef signed short RETCODE;
#define SQL_MAX_DSN_LENGTH 32
/* return code */
-#define SQL_INVALID_HANDLE (-2)
-#define SQL_ERROR (-1)
-#define SQL_SUCCESS 0
-#define SQL_SUCCESS_WITH_INFO 1
-#define SQL_NO_DATA_FOUND 100
+#define SQL_INVALID_HANDLE (-2)
+#define SQL_ERROR (-1)
+#define SQL_SUCCESS 0
+#define SQL_SUCCESS_WITH_INFO 1
+#define SQL_NO_DATA_FOUND 100
/* standard SQL datatypes (agree with ANSI type numbering) */
#define SQL_CHAR 1
diff --git a/src/interfaces/odbc/isqlext.h b/src/interfaces/odbc/isqlext.h
index cd672dafca6..3ff4f02b9c6 100644
--- a/src/interfaces/odbc/isqlext.h
+++ b/src/interfaces/odbc/isqlext.h
@@ -128,8 +128,8 @@
#define SQL_API_SQLDRIVERS 71
#define SQL_API_SQLBINDPARAMETER 72
-#define SQL_EXT_API_LAST SQL_API_SQLBINDPARAMETER
-#define SQL_NUM_EXTENSIONS (SQL_EXT_API_LAST - SQL_EXT_API_START + 1)
+#define SQL_EXT_API_LAST SQL_API_SQLBINDPARAMETER
+#define SQL_NUM_EXTENSIONS (SQL_EXT_API_LAST - SQL_EXT_API_START + 1)
#define SQL_API_ALL_FUNCTIONS 0