]> granicus.if.org Git - postgresql/commit
Add an opr_sanity check for misdefined aggregates that have transition
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 18 Jul 2000 05:02:19 +0000 (05:02 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 18 Jul 2000 05:02:19 +0000 (05:02 +0000)
commitba930a016c96f8cf57255b6f3adaa73564a7965d
treefefdc8473c7c634f664a281253ad1cb43825f122
parent8b1b34f6c0828f196fe5768e23dfeb3ad3ddf2d0
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...
src/test/regress/expected/opr_sanity.out
src/test/regress/sql/opr_sanity.sql