Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bfF6p-0005z0-JI for pgsql-bugs@arkaria.postgresql.org; Wed, 31 Aug 2016 23:39:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bfF6p-0005Tc-5v for pgsql-bugs@arkaria.postgresql.org; Wed, 31 Aug 2016 23:39:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bfF6B-0004lC-32 for pgsql-bugs@postgresql.org; Wed, 31 Aug 2016 23:39:15 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bfF68-0000mJ-KN for pgsql-bugs@postgresql.org; Wed, 31 Aug 2016 23:39:14 +0000 Received: from localhost ([127.0.0.1]:32496 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtp (Exim 4.84 (FreeBSD)) (envelope-from ) id 1bfF65-000Gnm-SV; Wed, 31 Aug 2016 23:39:09 +0000 From: Andrew Gierth To: Dean Rasheed Cc: Tom Lane , Christoph Berg , Pablo Pumarino Delgado , "pgsql-bugs\@postgresql.org" Subject: Re: BUG #14294: Problem in generate series between dates In-Reply-To: (Dean Rasheed's message of "Thu, 1 Sep 2016 00:36:25 +0100") Message-ID: <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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) Date: Thu, 01 Sep 2016 00:39:09 +0100 MIME-Version: 1.0 Content-Type: text/plain X-Pg-Spam-Score: -3.4 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org >>>>> "Dean" == Dean Rasheed 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