Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcdbs-0006nD-IE for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Aug 2016 19:13:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bcdbs-0003Qh-4P for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Aug 2016 19:13:12 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bcdbr-0003QX-Nt for pgsql-bugs@postgresql.org; Wed, 24 Aug 2016 19:13:11 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bcdbp-0007nl-7I for pgsql-bugs@postgresql.org; Wed, 24 Aug 2016 19:13:10 +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 u7OJD14i029142; Wed, 24 Aug 2016 15:13:01 -0400 From: Tom Lane To: John R Pierce cc: pablopumarino@gmail.com, pgsql-bugs@postgresql.org Subject: Re: BUG #14294: Problem in generate series between dates In-reply-to: <56e85f55-6de8-3de6-65e6-12eca07074aa@hogranch.com> References: <20160824182920.15681.52285@wrigleys.postgresql.org> <56e85f55-6de8-3de6-65e6-12eca07074aa@hogranch.com> Comments: In-reply-to John R Pierce message dated "Wed, 24 Aug 2016 11:59:16 -0700" Date: Wed, 24 Aug 2016 15:13:01 -0400 Message-ID: <29141.1472065981@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 John R Pierce writes: > the notation type 'string value' is a native constant in that type, > while the notation 'string value'::type generates a text constant and > typecasts it. Actually, no, there's no difference. If the argument of ::type is a simple string literal, it's just fed to the type's input parser. 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