Add an opr_sanity check for misdefined aggregates that have transition
Tom Lane <tgl@sss.pgh.pa.us>
Add an opr_sanity check for misdefined aggregates that have transition type different from input type but are expecting ExecAgg to insert the first non-null input as the starting transition value. This has always been verboten, but wasn't checked for until now...
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/opr_sanity.out | modified | +11 −0 |
| src/test/regress/sql/opr_sanity.sql | modified | +9 −0 |