Skip site navigation (1) Skip section navigation (2)

Column quoting in result set getters

From: Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Column quoting in result set getters
Date: 2004-06-02 16:14:33
Message-ID: m34qpux7h2.fsf@conexa.fciencias.unam.mx (view raw or flat)
Thread:
Lists: pgsql-jdbc
Hi,

When I try to get the value of a column by name, using quotes the
driver throws an exception telling me that that column does not
exists. The column name has accents:

   int val = res.getInt("\"Ășltima\"");

Since quote_ident() quotes the names containing accents I think the
driver should accept the quoted version as well or am I missing
something? I'm using pg74.1jdbc3.jar.

Any thoughts?

Regards,
Manuel.


Responses

pgsql-jdbc by date

Next:From: Jan HeiseDate: 2004-06-03 07:07:07
Subject: Re: int4/int8 problem with jdbc was Re: "Fix" for INT8 literals
Previous:From: Paul ThomasDate: 2004-06-02 13:27:21
Subject: Re: int4/int8 problem with jdbc was Re: "Fix" for INT8 literals

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group