PG JDBC bug?

From: Chris Jones <chris(at)mt(dot)sri(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Cc: peter(at)retep(dot)org(dot)uk
Subject: PG JDBC bug?
Date: 2000-10-30 20:16:51
Message-ID: a5f4s1u5bkc.fsf@merry.mt.sri.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi--

I'm using the JDBC driver that came with my pg-7.0.2, and I'm also
playing with Sun's J2EE SDK. Apparently, when the SDK tries to create
tables, it looks at the DatabaseMetaData from the driver Connection,
searching for an appropriate text type. The first one it finds is
NAME, which doesn't seem quite right.

The PostgreSQL manual says that NAME is really only supposed to be
used for internal purposes; if that's the case, then shouldn't
getTypes() say that NAME is OTHER, instead of VARCHAR?

Chris

--
----------------------------------------------------- chris(at)mt(dot)sri(dot)com
Chris Jones SRI International, Inc.

Browse pgsql-interfaces by date

  From Date Subject
Next Message Joseph Shraibman 2000-10-30 22:13:59 Re: JDBC- No suitable driver error
Previous Message Adam Lang 2000-10-30 18:42:03 Re: web interface php3 question.