diff options
author | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-03-14 05:42:04 +0000 |
---|---|---|
committer | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-03-14 05:42:04 +0000 |
commit | 01e322652b14c2aeac1737f29f8bcf9e18d1060e (patch) | |
tree | 2793f9c1dcea81f6268e81b777af1c990b74b526 /src/interfaces/odbc/tuple.h | |
parent | f362dcec61bc8df8b13d65897aecaaac2ce1b7b0 (diff) | |
download | postgresql-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.h | 13 |
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). |