ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
Loading...
Searching...
No Matches
InvFreeMarker Struct Reference

Per-atom marker spec for the inversion-free path. More...

#include "safe_query.h"

Public Attributes

bool valid
AttrNumber root_col
AttrNumber sec_col
int factor

Detailed Description

Per-atom marker spec for the inversion-free path.

One entry per range-table atom (indexed by relid-1). When valid, the planner wraps that atom's provenance token in annotate(prov, inversion_free_key(root_col, sec_col, factor)): a per-input order key built from the tuple's root- and secondary-class column values and its factor (SAFE_CERT_GUARD_FACTOR for the shared self-join guard, else a per-factor id).

Definition at line 50 of file safe_query.h.

Member Data Documentation

◆ factor

int InvFreeMarker::factor

Definition at line 54 of file safe_query.h.

◆ root_col

AttrNumber InvFreeMarker::root_col

Definition at line 52 of file safe_query.h.

◆ sec_col

AttrNumber InvFreeMarker::sec_col

Definition at line 53 of file safe_query.h.

◆ valid

bool InvFreeMarker::valid

Definition at line 51 of file safe_query.h.


The documentation for this struct was generated from the following file: