![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
Leave the provsql column out of the whole-row values of provenance-tracked relations where any row is read.
More...
Public Attributes | |
| Index | group_rt |
| Bitmapset * | cols |
Leave the provsql column out of the whole-row values of provenance-tracked relations where any row is read.
The row type of a tracked table has its provsql column, so that row_to_json(t), t::text or json_agg(t.*) show the token of the row, which is not data. Where the value is read as any row – the output of the statement shown to the user (not stored by a CREATE TABLE AS, nor returned by a function), a parameter of type record, "any" or polymorphic with a result type of its own (the json functions), a conversion to text – it becomes the anonymous record of the other columns, and so it does where two rows are compared or grouped (t = u, IN, CASE t WHEN, GROUP BY t), so that equal rows are equal whatever their tokens. Where the table's own row type is needed (t::tbl, a function on it), it stays. Runs on the query and the bodies of its sublinks, before the rewriting that would otherwise meet the whole-row value.
Context for retype_group_var_mut.