Skip to content

ProvSQL 1.14.1

Latest

Choose a tag to compare

@PierreSenellart PierreSenellart released this 03 Dec 13:38
· 3 commits to master since this release
v1.14.1

What's new in 1.14.1

ProvSQL 1.14.1 makes add_provenance faster, corrects conditions on
aggregates that read no value from some rows, fixes the d-tree
probability method, and supports PostgreSQL 19.

Faster add_provenance

  • add_provenance now fills the new column while rewriting the table,
    instead of updating every row, and computes statistics on it. The table
    is left without dead rows, and its own UPDATE triggers no longer fire.
    A REPEATABLE READ transaction opened before the call may see the table
    as empty. Contributed by @SoTrx (#113).
  • Random UUIDs now come from the built-in gen_random_uuid() on
    PostgreSQL 13 and later, instead of uuid-ossp. Together, the two
    changes make add_provenance about 3 times as fast on a table of
    500,000 rows with two indexes.

Conditions on aggregates

  • Rows whose argument is NULL, or that a FILTER leaves out, are now
    kept as members of their group, so that a condition on the aggregate
    (HAVING) takes their presence into account.
  • IS NULL and IS NOT NULL on an aggregate are evaluated as conditions
    on the number of rows that have a value.
  • An OR between such a condition and an ordinary one that holds is now
    correct in semirings that are not Boolean algebras.

Other changes

  • provenance() over untracked data returns the semiring one.
  • d-tree no longer takes exponential time on circuits with sharing, can
    be interrupted, accepts a relative accuracy (kind=relative), and
    rejects arguments it does not read.
  • An error caught in a subtransaction nested more than 64 levels deep no
    longer silences later warnings.
  • PostgreSQL 19 is supported.