stddev() and variance() should return NULL when there is just one input
Tom Lane <tgl@sss.pgh.pa.us>
stddev() and variance() should return NULL when there is just one input value, per recent discussion on pgsql-general.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/float.c | modified | +5 −11 |
| src/backend/utils/adt/numeric.c | modified | +13 −23 |