OSDN Git Service

stddev() and variance() should return NULL when there is just one input
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Apr 2003 00:22:24 +0000 (00:22 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Apr 2003 00:22:24 +0000 (00:22 +0000)
commit1dc3a62ec7c9bd3f602689b289a1126fca12fead
treee69ab5da51f8abf37e0db14ea74c045d5cb63fb2
parentf9ba0a7fe56398e89fe349476d9e437c3197ea28
stddev() and variance() should return NULL when there is just one input
value, per recent discussion on pgsql-general.
src/backend/utils/adt/float.c
src/backend/utils/adt/numeric.c