From: Johann 'Myrkraverk' Oskarsson <johann@2ndquadrant.com>
To: PostgreSQL JDBC <pgsql-jdbc@postgresql.org>
Cc: Laurian Vostinar <lvostinar@servoy.com>
Subject: Re: Fwd: Re: [BUGS] BUG #6253: JDBC driver: getIndexInfo() returns quotes around quoted column names
Date: Sat, 05 Nov 2011 07:27:42 +0000
Message-ID: <x6mxcbyqoh.fsf@2ndquadrant.com> (raw)
In-Reply-To: <4EAE9593.7020909@servoy.com>
References: <CA+Tgmobw-VGiSBKb0zNSnbSMMzJiC=vx_X7_3W1vUhVU_RM78w@mail.gmail.com>
<4EAE9593.7020909@servoy.com>
Laurian Vostinar <lvostinar@servoy.com> 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/
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: johann@2ndquadrant.com, lvostinar@servoy.com
Subject: Re: Fwd: Re: [BUGS] BUG #6253: JDBC driver: getIndexInfo() returns quotes around quoted column names
In-Reply-To: <x6mxcbyqoh.fsf@2ndquadrant.com>
References: <CA+Tgmobw-VGiSBKb0zNSnbSMMzJiC=vx_X7_3W1vUhVU_RM78w@mail.gmail.com> <4EAE9593.7020909@servoy.com> <x6mxcbyqoh.fsf@2ndquadrant.com>
* 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