Portability | non-portable |
---|---|
Stability | experimental |
Maintainer | oleg@pobox.com, alistair@abayley.org |
Contains CInt equivalents of the #defines in the oci library headers. This is not a complete set; just enough to get the Haskell libraries working. This also might not be particularly portable, but I don't think Oracle are going to change these in a hurry (that would break compiled programs, wouldn't it?).
- oci_DEFAULT :: CInt
- oci_CRED_RDBMS :: CInt
- oci_CRED_EXT :: CInt
- oci_CRED_PROXY :: CInt
- oci_NTV_SYNTAX :: CInt
- oci_FETCH_NEXT :: CInt
- oci_FETCH_FIRST :: CInt
- oci_FETCH_LAST :: CInt
- oci_FETCH_PRIOR :: CInt
- oci_FETCH_ABSOLUTE :: CInt
- oci_FETCH_RELATIVE :: CInt
- oci_FETCH_RESERVED :: CInt
- oci_SQLT_CHR :: CInt
- oci_SQLT_NUM :: CInt
- oci_SQLT_INT :: CInt
- oci_SQLT_FLT :: CInt
- oci_SQLT_STR :: CInt
- oci_SQLT_VNU :: CInt
- oci_SQLT_LNG :: CInt
- oci_SQLT_VCS :: CInt
- oci_SQLT_RID :: CInt
- oci_SQLT_DAT :: CInt
- oci_SQLT_VBI :: CInt
- oci_SQLT_BIN :: CInt
- oci_SQLT_LBI :: CInt
- oci_SQLT_UIN :: CInt
- oci_SQLT_LVC :: CInt
- oci_SQLT_LVB :: CInt
- oci_SQLT_AFC :: CInt
- oci_SQLT_AVC :: CInt
- oci_SQLT_RSET :: CInt
- oci_TRANS_READONLY :: CInt
- oci_TRANS_READWRITE :: CInt
- oci_TRANS_SERIALIZABLE :: CInt
Used all over the place:
Handle types:
Error code types:
Attribute types:
Authentication options:
Found in $ORAHOME/oci/include/oci.h
Syntax types (i.e. does the DBMS understand v7 or v8 syntax, etc):
Found in $ORAHOME/oci/include/oci.h
Scrollable Cursor Options:
Found in $ORAHOME/oci/include/oci.h
OCI datatypes:
Found in $ORAHOME/oci/include/ocidfn.h
Transaction types; parameters for ociTransStart.
oci_TRANS_READONLY :: CIntSource
Found in $ORAHOME/oci/include/oci.h. There are more than this, but they're related to complicated transaction-management stuff in the OCI libraries that I don't understand. These should be sufficient to support the simple transaction model understood by most developers.