From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add window RANGE support for float4, float8, numeric.
Date: Sat, 24 Feb 2018 18:23:50 +0000
Message-ID: <E1epeUA-0003CN-F2@gemulon.postgresql.org> (raw)
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.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/8b29e88cdce17705f0b2c43e50219ce1d7d2f603
Modified Files
--------------
src/backend/utils/adt/float.c | 87 ++++++++++++++++
src/backend/utils/adt/numeric.c | 75 ++++++++++++++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_amproc.h | 3 +
src/include/catalog/pg_proc.h | 6 ++
src/test/regress/expected/window.out | 185 +++++++++++++++++++++++++++++++++++
src/test/regress/sql/window.sql | 72 ++++++++++++++
7 files changed, 429 insertions(+), 1 deletion(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Add window RANGE support for float4, float8, numeric.
In-Reply-To: <E1epeUA-0003CN-F2@gemulon.postgresql.org>
References: <E1epeUA-0003CN-F2@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox