Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 5D8571337BA6 for ; Thu, 27 Jan 2011 06:54:10 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 23940-04 for ; Thu, 27 Jan 2011 10:54:04 +0000 (UTC) X-Greylist: delayed 00:07:33.109707 by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mail.postgresql.org (Postfix) with ESMTP id 3FA091337B9D for ; Thu, 27 Jan 2011 06:54:02 -0400 (AST) Received: from tbz-emx-mobil.localnet ([85.183.3.198]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0M5a7E-1Q6gKz2lk8-00xeVo; Thu, 27 Jan 2011 11:41:25 +0100 From: "ml-tb" Reply-To: ml-tb@emagixx.de To: pgsql-jdbc@postgresql.org Subject: Double quoted column name from DatabaseMetaData.getIndexInfo Date: Thu, 27 Jan 2011 11:41:23 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.32-5-amd64; KDE/4.4.5; x86_64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201101271141.24062.ml-tb@emagixx.de> X-Provags-ID: V02:K0:BlwnbFN4JYJ9pMYGso7GW93ZrnvV3FgA8NaLXnmEVDN I8xtGN6XycP921i4pFOA5KlAF4MPLpinppdu3o6oDCWymtWLNn UbWMNBugBvTAfOnXV5kC7R1BmCuXypAhgHhCpEt+fgowkFpD+8 TlamozXwRDNBqYYcUP5Q1s6y+3t2XDonDYF/LhYcMeiTQ+NbE2 Q/Zxa1m+3GMYDPhAUD94g== X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201101/66 X-Sequence-Number: 21398 Driver version: 9.0.801 Server-Version: 8.4 (Linux X86_64), 9.02 (Win32) This bug seems to be fixed in 2007 but occurs again. The problem is the usage of: pg_catalog.pg_get_indexdef(ci.oid, (i.keys).n, false) AS COLUMN_NAME that delivers the column name for the _definition_ of the index. The definition needs the double qoutes for mixed case column names. Bye Thomas