pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki@enterprisedb.com>
To: Tore Halset <halset@pvv.ntnu.no>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: text metadata
Date: Tue, 16 Oct 2007 09:18:15 +0100
Message-ID: <471473C7.6070200@enterprisedb.com> (raw)
In-Reply-To: <DF60F62B-3D3A-4159-862B-BB4857E0F557@pvv.ntnu.no>
References: <DF60F62B-3D3A-4159-862B-BB4857E0F557@pvv.ntnu.no>

Tore Halset wrote:
> This is with PostgreSQL 8.2.3 and jdbc driver 8.2-504.
> 
> I have a table with a "text" column. When using DatabaseMetaData to
> inspect the column, it is returned as type Types.VARCHAR. I expected it
> to be reported as Types.CLOB.
> 
> Am I doing something wrong?

No. It's just your expectation that is wrong. :)

-- 
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com



view thread (3+ messages)  latest in thread

Message-ID: <471473C7.6070200@enterprisedb.com>
Permalink:  ../471473C7.6070200@enterprisedb.com/
Also on:    postgresql.org/message-id/471473C7.6070200@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: heikki@enterprisedb.com, halset@pvv.ntnu.no
  Subject: Re: text metadata
  In-Reply-To: <471473C7.6070200@enterprisedb.com>
  References: <DF60F62B-3D3A-4159-862B-BB4857E0F557@pvv.ntnu.no> <471473C7.6070200@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox