Re: Performance improvement proposal. Removal of toLowerCase calls. - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Performance improvement proposal. Removal of toLowerCase calls.
Date
Msg-id CADK3HH+nXuw-fk+6jAqebFdY=tW0ZjN_crAdYnXN=66tHSBNww@mail.gmail.com
Whole thread Raw
In response to Re: Performance improvement proposal. Removal of toLowerCase calls.  (Thomas Kellerer <spam_eater@gmx.net>)
Responses Re: Performance improvement proposal. Removal of toLowerCase calls.  (Thomas Kellerer <spam_eater@gmx.net>)
List pgsql-jdbc


On Thu, Jan 16, 2014 at 2:47 PM, Thomas Kellerer <spam_eater@gmx.net> wrote:
Are you sure ? This is in the resultset, so any column names should have come back from the db.
Which means that they should come back in lower case anyway.

  create table foo
  (
    "ID" integer,
    "Bar" varchar
  );

  select *
  from foo;

Should return ID and Bar as the column names.


Exactly! While I haven't actually tested the code. The lines that Jeremy is referring to would seem to suggest that  the return columns would be id and bar.

Does anyone have time to test this ?



Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

pgsql-jdbc by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: Performance improvement proposal. Removal of toLowerCase calls.
Next
From: Thomas Kellerer
Date:
Subject: Re: Performance improvement proposal. Removal of toLowerCase calls.