pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Dean Rasheed <dean.a.rasheed@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Christoph Berg <myon@debian.org>
Cc: Pablo Pumarino Delgado <pablopumarino@gmail.com>
Cc: pgsql-bugs\@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14294: Problem in generate series between dates
Date: Thu, 01 Sep 2016 00:39:09 +0100
Message-ID: <874m604ih2.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <CAEZATCUyeW_risKv0AgSy-ODug_c8YTfU7BDudCMWGNPzYi2YQ@mail.gmail.com>
References: <20160824182920.15681.52285@wrigleys.postgresql.org>
	<28256.1472064660@sss.pgh.pa.us>
	<87oa4i9d8w.fsf@news-spur.riddles.org.uk>
	<31168.1472069440@sss.pgh.pa.us>
	<20160831153737.xubrne5yzfedscym@msg.df7cb.de>
	<87d1ko4t69.fsf@news-spur.riddles.org.uk>
	<15294.1472679204@sss.pgh.pa.us>
	<878tvc4nk4.fsf@news-spur.riddles.org.uk>
	<CAEZATCXeYX74QxFJD=5HMfHcZGLO+eL_MfyFs24QZbNyLLWjYg@mail.gmail.com>
	<CAEZATCUyeW_risKv0AgSy-ODug_c8YTfU7BDudCMWGNPzYi2YQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

>>>>> "Dean" == Dean Rasheed <dean.a.rasheed@gmail.com> writes:

 >> Perhaps adding generate_series(date,date,interval) might work.

 Dean> On second thoughts, that would change the return type of some
 Dean> existing queries, which would be problematic.

But as this bug report is showing, those existing queries are at best
fragile and at worst silently wrong...

-- 
Andrew (irc:RhodiumToad)


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (17+ messages)  latest in thread

Message-ID: <874m604ih2.fsf@news-spur.riddles.org.uk>
Permalink:  ../874m604ih2.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/874m604ih2.fsf@news-spur.riddles.org.uk

 · 

reply

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-bugs@postgresql.org
  Cc: andrew@tao11.riddles.org.uk, dean.a.rasheed@gmail.com, tgl@sss.pgh.pa.us, myon@debian.org, pablopumarino@gmail.com
  Subject: Re: BUG #14294: Problem in generate series between dates
  In-Reply-To: <874m604ih2.fsf@news-spur.riddles.org.uk>
  References: <20160824182920.15681.52285@wrigleys.postgresql.org> <28256.1472064660@sss.pgh.pa.us> <87oa4i9d8w.fsf@news-spur.riddles.org.uk> <31168.1472069440@sss.pgh.pa.us> <20160831153737.xubrne5yzfedscym@msg.df7cb.de> <87d1ko4t69.fsf@news-spur.riddles.org.uk> <15294.1472679204@sss.pgh.pa.us> <878tvc4nk4.fsf@news-spur.riddles.org.uk> <CAEZATCXeYX74QxFJD=5HMfHcZGLO+eL_MfyFs24QZbNyLLWjYg@mail.gmail.com> <CAEZATCUyeW_risKv0AgSy-ODug_c8YTfU7BDudCMWGNPzYi2YQ@mail.gmail.com> <874m604ih2.fsf@news-spur.riddles.org.uk>

* 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