From: | "Johann 'Myrkraverk' Oskarsson" <johann(at)2ndquadrant(dot)com> |
---|---|
To: | PostgreSQL JDBC <pgsql-jdbc(at)postgresql(dot)org> |
Cc: | Laurian Vostinar <lvostinar(at)servoy(dot)com> |
Subject: | Re: Fwd: Re: [BUGS] BUG #6253: JDBC driver: getIndexInfo() returns quotes around quoted column names |
Date: | 2011-11-05 07:27:42 |
Message-ID: | x6mxcbyqoh.fsf@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-jdbc |
Laurian Vostinar <lvostinar(at)servoy(dot)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(at)servoy(dot)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/
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-11-06 05:35:28 | Re: BUG #6281: need to remove |
Previous Message | Craig Ringer | 2011-11-05 03:44:30 | Re: BUG #6281: need to remove |
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Kellerer | 2011-11-05 11:12:31 | Encoding for error messages during connect |
Previous Message | Dave Cramer | 2011-11-04 10:31:20 | Re: Fwd: [BUGS] BUG #6285: PreparedStatement#executeUpdate gets syntax error on apostrophe |