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

Where a flattened base atom came from, for mapping markers back. More...

Public Attributes

int depth
int * path

Detailed Description

Where a flattened base atom came from, for mapping markers back.

A slot path from the top lineage query down to the base relation: each element is a 1-based range-table slot, and the last element is the base's position within the innermost subquery. depth == 1 (path == [s]) is a base/kept relation directly at top slot s; deeper paths step through one nested SPJ subquery per element, so views-over-views map back to the right input through the recursive subquery rewrite.

Definition at line 11562 of file provsql.c.

Member Data Documentation

◆ depth

int FlatAtomOrigin::depth

Definition at line 11563 of file provsql.c.

◆ path

int* FlatAtomOrigin::path

Definition at line 11564 of file provsql.c.


The documentation for this struct was generated from the following file:
  • /home/senellar/git/software/provsql/src/provsql.c