ResultsetMetaData.getColumnName bug? - Mailing list pgsql-jdbc

From Roy Smith
Subject ResultsetMetaData.getColumnName bug?
Date
Msg-id 6a1128300712080636k6df89deje6ce4035b58f90b0@mail.gmail.com
Whole thread Raw
Responses Re: ResultsetMetaData.getColumnName bug?  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
It looks like getColumnName() is incorrectly returning the column label.
They are normally the same, but I have a query "select add as Address" and resultsetmetadata.getColumnName(1) is retuning "Address" instead of "add".

In the source code of AbstractJdbc2ResultsetMetadata I see this ...

   public String getColumnName(int column) throws SQLException
    {
        return getColumnLabel(column);
    }



best
Roy

pgsql-jdbc by date:

Previous
From: Tom Lane
Date:
Subject: Re: JDBC driver patch for non-ASCII users
Next
From: Kris Jurka
Date:
Subject: Re: ResultsetMetaData.getColumnName bug?