Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iNIzX-00085r-PX for pgsql-general@arkaria.postgresql.org; Wed, 23 Oct 2019 15:56:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iNIzW-00078j-GJ for pgsql-general@arkaria.postgresql.org; Wed, 23 Oct 2019 15:56:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iNIzV-00077P-R4 for pgsql-general@lists.postgresql.org; Wed, 23 Oct 2019 15:56:06 +0000 Received: from sonic309-42.consmr.mail.bf2.yahoo.com ([74.6.129.216]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iNIzS-0003Qx-MV for pgsql-general@lists.postgresql.org; Wed, 23 Oct 2019 15:56:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1571846161; bh=EGGDZkeQR0aUCfbzJ+gLYD4Ui55OiAbwIoocGytLCq0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject; b=Zwsdt4C43PPCHYIGfFxeGkuIOQKmDMkswmNrbT7xFwEZKsMQEtYTykQkh3mHO+rhXh8+yrE9zX7WzkOiL8i53JZpyoVPSfBUlnp01Slj7VW9P8/SW54DyRWp1An//5hDh+6+bTVt5njGcY8ZxYpN5njfO1YUyOWKsZUghH7lUu9cujafMPhi0nzcklaSdulnz7O1bgXT5LIMOx3VL2B+N76M3x4J3oawlC8jhpncUBWHqX2xzK6Sb24L1lICw+SF2WxmLwSK5TjPv8Pa2tVbj3wLVZmAMYpTwshSHpBqEVPgM1zkZ8nV5mYw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6gzWPYd2bN7znwdP29 VnIGqFtHAHzVmvgA9MH4lSaFcFYPwhkJmONfGrFrcTYLrjVjZpRHH4Cfkm5WPkI8CaV_8QQaKgAt aK3QYMEUKdS1cQxbje8Ew4btCgdhh0PBrDem1572fwbZ6RBoBoMaBC8fEUmvZ7njLPsRnA4ut4g4 LZmutybHP_YmmZuQ3azFbSMDyYNDJ6zLkG6kZ8UFzuPav63JK2jc1G1PPigrGgx37xdsvZAXM1zU MjjmNNcMCbg0vJrN2vNj7rnrh.5aGsK9Tu1ANePLdFna5F97jA0rBUw63v7Gehy4C8HDhLOv.x_W jJj9cxnJgATu33hppspZS8Kmvx13hE5.7bqTDcqLTmxBNogOVuVdyAE3ycb_jyVhL07e3HgRv.8R .TxOkkoKhX5bNL3Oiyh66kclIwnPVXr5bGze6SLyPVg9lJ3WDsg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.bf2.yahoo.com with HTTP; Wed, 23 Oct 2019 15:56:01 +0000 Received: by smtp401.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 8f0944d24e1b10dbf4b1b58432cbc897; Wed, 23 Oct 2019 15:53:59 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3594.4.19\)) Subject: Re: Is this a bug ? From: Ravi Krishna In-Reply-To: Date: Wed, 23 Oct 2019 11:53:56 -0400 Cc: "pgsql-generallists.postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: <1DAF2F6A-31A8-4376-A4E3-C33111B6B3F8@aol.com> References: <6048315C-CE0E-482F-9F48-B300E4D7AC52@aol.com> To: Geoff Winkless X-Mailer: Apple Mail (2.3594.4.19) Content-Length: 533 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >=20 > Simplify: >=20 > select 'a' > db-# 'b'; > ?column? > ---------- > ab > (1 row) >=20 > This is not a bug. >=20 > https://www.postgresql.org/docs/9.2/sql-syntax-lexical.html >=20 > Two string constants that are only separated by whitespace with at > least one newline are concatenated and effectively treated as if the > string had been written as one constant. >=20 > Geoff Shouldn't the output be 4 in that case since it is looking = for('a','b','cd','e') and it should find all but cd. =20=