Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0gQ1-00027v-Fb for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Dec 2014 00:55:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y0gQ0-00037q-Pn for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Dec 2014 00:55:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y0YTK-000823-0R for pgsql-bugs@postgresql.org; Mon, 15 Dec 2014 16:26:10 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0YTC-0000hC-V1 for pgsql-bugs@postgresql.org; Mon, 15 Dec 2014 16:26:08 +0000 MIME-Version: 1.0 Subject: BUG #12242: No error - if there is no comma seperator To: pgsql-bugs@postgresql.org From: omkar1103@gmail.com Date: Mon, 15 Dec 2014 16:25:55 +0000 Message-ID: <20141215162555.2699.79394@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.1 (/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 The following bug has been logged on the website: Bug reference: 12242 Logged by: Onkar Gaonkar Email address: omkar1103@gmail.com PostgreSQL version: 9.3.3 Operating system: Windows Description: Below script does not throw error ======================================= SELECT claim_status, claim_key FROM tbl_claim WHERE claim_key IN ( '1140799265' '2129945595' ) ======================================= Throws Error ======================================= SELECT claim_status, claim_key FROM tbl_claim WHERE claim_key IN ( '1140799265' '2129945595' ) ERROR: syntax error at or near "'2129945595'" LINE 7: '1140799265' '2129945595' ^ ********** Error ********** ERROR: syntax error at or near "'2129945595'" SQL state: 42601 Character: 113 ======================================= -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs