From: | Peter Moser <pitiz29a(at)gmail(dot)com> |
---|---|
To: | Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com> |
Cc: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Johann Gamper <gamper(at)inf(dot)unibz(dot)it>, Michael Böhlen <boehlen(at)ifi(dot)uzh(dot)ch>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Anton Dignös <anton(dot)dignoes(at)unibz(dot)it> |
Subject: | Re: [PROPOSAL] Temporal query processing with range types |
Date: | 2017-02-28 14:09:05 |
Message-ID: | CAHO0eLY6zOyeFGL5-z+i6rsxwWFxbzj_SsKSne1X=YRuGO45yA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2017-02-27 11:21 GMT+01:00 Peter Moser <pitiz29a(at)gmail(dot)com>:
> 2017-02-24 21:25 GMT+01:00 Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>:
>> It's not that hard to construct a range type on-the-fly from 2 columns, so
>> (without having looked at the patch or really followed the thread) I would
>> think the answer is yes.
Thank you for your suggestion.
> We discussed and decided to remove the syntax for separate columns.
Please find attached the new patch with "range-type-only" syntax. It
is around 400 lines of
code shorter than its predecessor.
Now the syntax is as follows:
SELECT * FROM ( r ALIGN s ON q WITH (r.time, s.time) ) c;
SELECT * FROM ( r NORMALIZE s ON q WITH (r.time, s.time) ) c;
SELECT * FROM ( r NORMALIZE s USING(atts) WITH (r.time, s.time) ) c;
...where r and s are relations, c an alias, q any boolean expression,
atts a column name list, and r.time/s.time range typed columns.
This means that the syntax with four columns (i.e., scalar time point
start/end for relations r and s)
inside the WITH-clause is no longer supported.
Best regards,
Anton, Michael, Johann, Peter
Attachment | Content-Type | Size |
---|---|---|
tpg_primitives_out_v6.patch | text/x-patch | 137.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2017-02-28 14:13:31 | Re: Disallowing multiple queries per PQexec() |
Previous Message | Tom Lane | 2017-02-28 14:04:29 | Re: Disallowing multiple queries per PQexec() |