Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpcPA-00040O-Ec for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Sep 2017 15:38:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dpcPA-0000Ct-1P for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Sep 2017 15:38:16 +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 1dpcOS-0006PY-Ez for pgsql-bugs@postgresql.org; Wed, 06 Sep 2017 15:37:32 +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 1dpcOP-0003JT-Ir for pgsql-bugs@postgresql.org; Wed, 06 Sep 2017 15:37:31 +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 v86FbQvE001051; Wed, 6 Sep 2017 11:37:26 -0400 From: Tom Lane To: =?UTF-8?B?0JDRgNGC0ZHQvCDQmtC+0YHRgtC40L0=?= cc: Francisco Olarte , "pgsql-bugs@postgresql.org" Subject: Re: BUG #14800: substring produces different results with similar types In-reply-to: References: <20170906132156.25639.91622@wrigleys.postgresql.org> <30250.1504709462@sss.pgh.pa.us> Comments: In-reply-to =?UTF-8?B?0JDRgNGC0ZHQvCDQmtC+0YHRgtC40L0=?= message dated "Wed, 06 Sep 2017 18:22:16 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1049.1504712246.1@sss.pgh.pa.us> Date: Wed, 06 Sep 2017 11:37:26 -0400 Message-ID: <1050.1504712246@sss.pgh.pa.us> 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 =?UTF-8?B?0JDRgNGC0ZHQvCDQmtC+0YHRgtC40L0=?= writes: > But documentation says different. So this behaviour is unxpected. No it doesn't. 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