aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/tuple.h
diff options
context:
space:
mode:
authorHiroshi Inoue <inoue@tpf.co.jp>2002-03-14 05:42:04 +0000
committerHiroshi Inoue <inoue@tpf.co.jp>2002-03-14 05:42:04 +0000
commit01e322652b14c2aeac1737f29f8bcf9e18d1060e (patch)
tree2793f9c1dcea81f6268e81b777af1c990b74b526 /src/interfaces/odbc/tuple.h
parentf362dcec61bc8df8b13d65897aecaaac2ce1b7b0 (diff)
downloadpostgresql-01e322652b14c2aeac1737f29f8bcf9e18d1060e.tar.gz
postgresql-01e322652b14c2aeac1737f29f8bcf9e18d1060e.zip
1) Internal improvements to handle updatable cursors(1st cut).
2) Fix a bug in SQLColAttribute().
Diffstat (limited to 'src/interfaces/odbc/tuple.h')
-rw-r--r--src/interfaces/odbc/tuple.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/interfaces/odbc/tuple.h b/src/interfaces/odbc/tuple.h
index fdc1a5f9eaa..388f9fa0210 100644
--- a/src/interfaces/odbc/tuple.h
+++ b/src/interfaces/odbc/tuple.h
@@ -30,6 +30,19 @@ struct TupleNode_
TupleField tuple[1];
};
+/* keyset(TID + OID) info */
+struct KeySet_
+{
+ UWORD status;
+ UWORD offset;
+ 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)
+
/* These macros are wrappers for the corresponding set_tuplefield functions
but these handle automatic NULL determination and call set_tuplefield_null()
if appropriate for the datatype (used by SQLGetTypeInfo).