Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id D60E8108447C for ; Sat, 5 Nov 2011 10:36:26 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 30944-07 for ; Sat, 5 Nov 2011 13:36:20 +0000 (UTC) Received: from mx2.hub.org (mx2.hub.org [200.46.204.254]) by mail.postgresql.org (Postfix) with ESMTP id 73E75108447E for ; Sat, 5 Nov 2011 10:35:20 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from outmail148112.authsmtp.co.uk (outmail148112.authsmtp.co.uk [62.13.148.112]) by mx2.hub.org (Postfix) with ESMTP id 855061752877 for ; Sat, 5 Nov 2011 04:28:51 -0300 (ADT) Received: from mail-c187.authsmtp.com (mail-c187.authsmtp.com [62.13.128.33]) by punt9.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id pA57S8j5072424; Sat, 5 Nov 2011 07:28:08 GMT Received: from asuka.2ndquadrant.com (85-220-48-170.dsl.dynamic.simnet.is [85.220.48.170]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2) with ESMTP id pA57S5WL070860; Sat, 5 Nov 2011 07:28:06 GMT To: PostgreSQL JDBC Cc: Laurian Vostinar Subject: Re: Fwd: Re: [BUGS] BUG #6253: JDBC driver: getIndexInfo() returns quotes around quoted column names References: <4EAE9593.7020909@servoy.com> From: "Johann 'Myrkraverk' Oskarsson" Date: Sat, 05 Nov 2011 07:27:42 +0000 In-Reply-To: <4EAE9593.7020909@servoy.com> (Laurian Vostinar's message of "Mon, 31 Oct 2011 14:33:23 +0200") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Server-Quench: b4c89b21-077f-11e1-ab46-001185d377ca X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZXSwQT DCUsVilMUBgsKgdF BwNFJgxfNl8UURhQ KkJXbgASJgVBAnde RXkJW1VVQF12U2F9 YQpWIw1YfEhMXxtu WFZIRVJNFgBqBAMB SF5vVx4RcmI6eHlw bUBiEHRaWkw0J0Iu SkcGF2wbZWBnPn0e URVZalIGdAVXfh9E a1h6AHAKZjZWKBg1 TUcAHRwbFgAXBjtZ EEk3IABacmw2MQUJ Dzo/Mn1kQxdYHHd7 DTAMARYQBkcPP19g eVQsRXMePxICKwtQ GAEMSDVUO0QbQTFj FB5dQUMFWDRHRjpa DlUxPxhUDzAaUS1c GU5DAxcGDi5eOMe2 X-Authentic-SMTP: 61633235383639.1000:706 X-AuthFastPath: 0 (Was 255) X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.778 tagged_above=-10 required=5 tests=BAYES_00=-1.9, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201111/9 X-Sequence-Number: 22344 Laurian Vostinar writes: > Can someone fix this issue, please ? Given create table x( "I""D" int4 not null, primary key("I""D") ); create unique index x_plus on x (("I""D" + 17 )); I get I"D (("I""D" + 17)) on 8.2 while it's "I""D" (("I""D" + 17)) on 9.1; or >= 8.3. In the case of expression indexes, what do you expect to recieve? How would one differentiate between the literal column name ((1)) and an expression? [snip] >> >> The following bug has been logged online: >> >> Bug reference: 6253 >> Logged by: Laurian Vostinar >> Email address: lvostinar@servoy.com >> PostgreSQL version: 9.0 >> Operating system: Windows 7 >> Description: JDBC driver: getIndexInfo() returns quotes around quoted >> column names >> Details: >> >> Old bug has returned, see >> http://postgresql.1045698.n5.nabble.com/Old-bug-reappeared-JDBC-driver-getIn >> dexInfo-returns-quotes-around-quoted-column-names-td4553591.html >> >> http://archives.postgresql.org/pgsql-jdbc/2011-01/msg00065.php >> >> http://archives.postgresql.org/pgsql-bugs/2007-07/msg00104.php -- Johann Oskarsson http://www.2ndquadrant.com/ |[] PostgreSQL Development, 24x7 Support, Training and Services --+-- | Blog: http://my.opera.com/myrkraverk/blog/