Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcdH8-0005Ww-Fq for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Aug 2016 18:51:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bcdH8-0000Ls-2n for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Aug 2016 18:51:46 +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 1bcdGU-00082w-5f for pgsql-bugs@postgresql.org; Wed, 24 Aug 2016 18:51:06 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bcdGR-0004pS-Ck for pgsql-bugs@postgresql.org; Wed, 24 Aug 2016 18:51:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u7OIp0jF028257; Wed, 24 Aug 2016 14:51:00 -0400 From: Tom Lane To: pablopumarino@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14294: Problem in generate series between dates In-reply-to: <20160824182920.15681.52285@wrigleys.postgresql.org> References: <20160824182920.15681.52285@wrigleys.postgresql.org> Comments: In-reply-to pablopumarino@gmail.com message dated "Wed, 24 Aug 2016 18:29:20 -0000" Date: Wed, 24 Aug 2016 14:51:00 -0400 Message-ID: <28256.1472064660@sss.pgh.pa.us> X-Pg-Spam-Score: -2.1 (--) 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 pablopumarino@gmail.com writes: > When I use postgres function: > SELECT generate_series('2016-08-01', '2016-08-31', '1 > day'::interval)::date > it gives me the corresponding list of days but for some reason it misses the > day 2016-08-31. In addition to Andrew's questions: * What time zone are you using? * In that zone, is there a DST rule change near 2016-08-31? regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs