Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UkGH2-0008VY-6v for pgsql-bugs@arkaria.postgresql.org; Wed, 05 Jun 2013 16:09:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UkGH1-0000qj-KX for pgsql-bugs@arkaria.postgresql.org; Wed, 05 Jun 2013 16:09:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UkFZo-0002mB-Hx for pgsql-bugs@postgresql.org; Wed, 05 Jun 2013 15:24:40 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UkFZj-0004kB-44 for pgsql-bugs@postgresql.org; Wed, 05 Jun 2013 15:24:40 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UkFZh-0004yp-QS for pgsql-bugs@postgresql.org; Wed, 05 Jun 2013 15:24:34 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1UkFZc-0001It-KC for pgsql-bugs@postgresql.org; Wed, 05 Jun 2013 15:24:28 +0000 Date: Wed, 05 Jun 2013 15:24:28 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #8211: Syntax error when creating index on expression To: pgsql-bugs@postgresql.org From: acizov@gmail.com X-Pg-Spam-Score: -1.5 (-) 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: 8211 Logged by: Andrey Cizov Email address: acizov@gmail.com PostgreSQL version: 9.2.3 Operating system: Windows Description:=20=20=20=20=20=20=20=20 CREATE INDEX heuristic ON foos (1 / (a + b)) causes:=20 ERROR: syntax error at or near "1" LINE 1: CREATE INDEX heuristic ON foos (1 / (a + b)) ^ ********** Error ********** ERROR: syntax error at or near "1" SQL state: 42601 Character: 33 While: CREATE INDEX heuristic ON foos ((1 / (a + b))) Execution successful --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs