aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/tuple.h
diff options
context:
space:
mode:
authorHiroshi Inoue <inoue@tpf.co.jp>2002-03-28 08:08:07 +0000
committerHiroshi Inoue <inoue@tpf.co.jp>2002-03-28 08:08:07 +0000
commit6852741c1879fd2bd5ab5b367c7fc5a130dfd4da (patch)
treea0f27a6fb623307b0772f2964f31707fd302972e /src/interfaces/odbc/tuple.h
parente6774dc3553d814e6aa500cabe5739b2e6f94df4 (diff)
downloadpostgresql-6852741c1879fd2bd5ab5b367c7fc5a130dfd4da.tar.gz
postgresql-6852741c1879fd2bd5ab5b367c7fc5a130dfd4da.zip
[2002-03-28]
1) Prepare to separate 4 kinds of Descriptor handles. 2) Detect the transaction status more naturally. 3) Improve Parse Statement functionality for the use of updatable cursors. 4) Improve updatable cursors. 5) Implement SQLGetDescField() and improve SQLColAttribute(). 6) etc.
Diffstat (limited to 'src/interfaces/odbc/tuple.h')
-rw-r--r--src/interfaces/odbc/tuple.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/interfaces/odbc/tuple.h b/src/interfaces/odbc/tuple.h
index 388f9fa0210..eb00cfd5094 100644
--- a/src/interfaces/odbc/tuple.h
+++ b/src/interfaces/odbc/tuple.h
@@ -38,10 +38,21 @@ struct KeySet_
UDWORD blocknum;
UDWORD oid;
};
-#define KEYSET_INFO_PUBLIC 0x0f
-#define DRV_SELF_ADDED (1L << 4)
-#define DRV_SELF_DELETED (1L << 5)
-#define DRV_SELF_UPDATED (1L << 6)
+/* Rollback(index + original TID) info */
+struct Rollback_
+{
+ UDWORD index;
+ UDWORD blocknum;
+ UWORD offset;
+};
+#define KEYSET_INFO_PUBLIC 0x07
+#define CURS_SELF_ADDING (1L << 3)
+#define CURS_SELF_DELETING (1L << 4)
+#define CURS_SELF_UPDATING (1L << 5)
+#define CURS_SELF_ADDED (1L << 6)
+#define CURS_SELF_DELETED (1L << 7)
+#define CURS_SELF_UPDATED (1L << 8)
+#define CURS_NEEDS_REREAD (1L << 9)
/* These macros are wrappers for the corresponding set_tuplefield functions
but these handle automatic NULL determination and call set_tuplefield_null()