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

Compatibility stub for the removed provsql.aggregation_evaluate(). More...

#include "postgres.h"
#include "fmgr.h"
Include dependency graph for aggregation_evaluate.c:

Go to the source code of this file.

Functions

Datum aggregation_evaluate (PG_FUNCTION_ARGS)
 Always-NULL stub kept for old-version installs.

Detailed Description

Compatibility stub for the removed provsql.aggregation_evaluate().

The aggregation-over-GROUP-BY custom-semiring dispatcher is gone from the SQL surface (the agg_token aggregates and the compiled sr_* readouts cover it), but the C symbol must stay: the frozen 1.0.0 fixture declares the function and PostgreSQL validates the library symbol when CREATE EXTENSION provsql VERSION '1.0.0' runs (upgrade-path tests), even though later upgrade scripts drop the function. The historical implementation dispatched over SPI to a same-named plpgsql driver that the current surface does not define, so a call could not succeed anyway; the stub returns NULL unconditionally.

Definition in file aggregation_evaluate.c.

Function Documentation

◆ aggregation_evaluate()

Datum aggregation_evaluate ( PG_FUNCTION_ARGS )

Always-NULL stub kept for old-version installs.

Definition at line 21 of file aggregation_evaluate.c.