Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bygXs-000783-66 for pgsql-bugs@arkaria.postgresql.org; Mon, 24 Oct 2016 14:48: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 1bygXr-0004b8-NI for pgsql-bugs@arkaria.postgresql.org; Mon, 24 Oct 2016 14:48:11 +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 1bygUI-0002u7-Dd for pgsql-bugs@postgresql.org; Mon, 24 Oct 2016 14:44:30 +0000 Received: from andy.depesz.com ([88.198.47.100] helo=depesz.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bygUA-0002xL-To for pgsql-bugs@postgresql.org; Mon, 24 Oct 2016 14:44:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20140207; h=In-Reply-To:Content-Type:MIME-Version:References:Reply-To: Message-ID:Subject:Cc:To:Sender:From:Date:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZdDBShP4J02rLst1rOeokQW1/MayPqjXHvmAF6JzLFE=; b=kZp6Fg91WFVWvRJcOPuSl7r38q 2tdHOgjy6WLrEo8z55gWEZsLHKgyeGhJwlyw92LZALBjI2nb3YEUxDZYx/wGJhqgttJ2ql7K5DGJW a0AypXW7QqsJOAJ9tXyRj4F2x; Received: from andy.depesz.com ([88.198.47.100] helo=depesz.com) by depesz.com with esmtpa (Exim 4.87) (envelope-from ) id 1bygU9-00029s-9g; Mon, 24 Oct 2016 16:44:21 +0200 Date: Mon, 24 Oct 2016 16:44:21 +0200 From: hubert depesz lubaczewski To: andreas.imboden@bl.ch Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14394: No error raised in IN-clause when commas are missing Message-ID: <20161024144420.iuso6q32q2npgnkb@depesz.com> Reply-To: depesz@depesz.com References: <20161024142841.1423.19672@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20161024142841.1423.19672@wrigleys.postgresql.org> User-Agent: NeoMutt/20161014 (1.7.1) X-Pg-Spam-Score: -3.3 (---) 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 On Mon, Oct 24, 2016 at 02:28:41PM +0000, andreas.imboden@bl.ch wrote: > bug description: > in list with new line instead of comma produces incorrect result. > should instead report a syntax error message This is not a bug. Please check: https://www.postgresql.org/docs/9.6/static/sql-syntax-lexical.html#SQL-SYNTAX-CONSTANTS Specifically part: 4.1.2.1. String Constants. depesz -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs