![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
One PRIMARY-KEY or NOT-NULL-UNIQUE key on a relation. More...
#include "provsql_utils.h"
Public Attributes | |
| uint16 | col_n |
| AttrNumber | cols [PROVSQL_KEY_CACHE_MAX_KEY_COLS] |
One PRIMARY-KEY or NOT-NULL-UNIQUE key on a relation.
col_n is the number of valid entries in cols (in pg_index.indkey order, i.e. column position in the key, not pg_attribute.attnum order). All columns are NOT NULL by construction: PRIMARY KEY enforces this implicitly, and UNIQUE constraints are admitted only when pg_attribute.attnotnull is true for every constituent column (the ยง2 soundness trap on nullable UNIQUE).
Definition at line 416 of file provsql_utils.h.
| uint16 ProvenanceRelationKey::col_n |
Definition at line 417 of file provsql_utils.h.
| AttrNumber ProvenanceRelationKey::cols[PROVSQL_KEY_CACHE_MAX_KEY_COLS] |
Definition at line 418 of file provsql_utils.h.