text metadata

Поиск
Список
Период
Сортировка
Искать

text metadata

От:
Tore Halset <halset@pvv.ntnu.no>
Дата:
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.
  

Re: text metadata

От:
Heikki Linnakangas <heikki@enterprisedb.com>
Дата:
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

Re: text metadata

От:
Tore Halset <halset@pvv.ntnu.no>
Дата:
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.

FAQ