pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
text metadata
3+ messages / 2 participants
[nested] [flat]

* text metadata
@ 2007-10-16 06:05 Tore Halset <halset@pvv.ntnu.no>
  2007-10-16 08:18 ` Re: text metadata Heikki Linnakangas <heikki@enterprisedb.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Tore Halset @ 2007-10-16 06:05 UTC (permalink / raw)
  To: pgsql-jdbc

Hello.

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?

Regards,
  - Tore.
  



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: text metadata
  2007-10-16 06:05 text metadata Tore Halset <halset@pvv.ntnu.no>
@ 2007-10-16 08:18 ` Heikki Linnakangas <heikki@enterprisedb.com>
  2007-10-16 08:29   ` Re: text metadata Tore Halset <halset@pvv.ntnu.no>
  0 siblings, 1 reply; 3+ messages in thread

From: Heikki Linnakangas @ 2007-10-16 08:18 UTC (permalink / raw)
  To: Tore Halset <halset@pvv.ntnu.no>; +Cc: pgsql-jdbc

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: text metadata
  2007-10-16 06:05 text metadata Tore Halset <halset@pvv.ntnu.no>
  2007-10-16 08:18 ` Re: text metadata Heikki Linnakangas <heikki@enterprisedb.com>
@ 2007-10-16 08:29   ` Tore Halset <halset@pvv.ntnu.no>
  0 siblings, 0 replies; 3+ messages in thread

From: Tore Halset @ 2007-10-16 08:29 UTC (permalink / raw)
  To: pgsql-jdbc

On Oct 16, 2007, at 10:18 , Heikki Linnakangas wrote:

> 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. :)

Thanks :)

  - Tore.




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2007-10-16 08:29 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-10-16 06:05 text metadata Tore Halset <halset@pvv.ntnu.no>
2007-10-16 08:18 ` Heikki Linnakangas <heikki@enterprisedb.com>
2007-10-16 08:29   ` Tore Halset <halset@pvv.ntnu.no>

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