From: ml-tb <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
Message-ID: <201101271141.24062.ml-tb@emagixx.de> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: ml-tb@emagixx.de
Subject: Re: Double quoted column name from DatabaseMetaData.getIndexInfo
In-Reply-To: <201101271141.24062.ml-tb@emagixx.de>
References: <201101271141.24062.ml-tb@emagixx.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox