]> granicus.if.org Git - postgresql/commit
Add window RANGE support for float4, float8, numeric.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 24 Feb 2018 18:23:38 +0000 (13:23 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 24 Feb 2018 18:23:38 +0000 (13:23 -0500)
commit8b29e88cdce17705f0b2c43e50219ce1d7d2f603
treeb8a8fefc8ac1643e760d9bbf0f03ce4c2d8689b0
parent081bfc19b3b7914b78eb44e00af9dd45325dda3e
Add window RANGE support for float4, float8, numeric.

Commit 0a459cec9 left this for later, but since time's running out,
I went ahead and took care of it.  There are more data types that
somebody might someday want RANGE support for, but this is enough
to satisfy all expectations of the SQL standard, which just says that
"numeric, datetime, and interval" types should have RANGE support.
src/backend/utils/adt/float.c
src/backend/utils/adt/numeric.c
src/include/catalog/catversion.h
src/include/catalog/pg_amproc.h
src/include/catalog/pg_proc.h
src/test/regress/expected/window.out
src/test/regress/sql/window.sql