Обсуждение: does the' text' type cann't store more than 20,000char ?

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

does the' text' type cann't store more than 20,000char ?

От
"xu hai"
Дата:
hi .everyine
    when i want put a long file into a field  with text type . i was warning the turple is
too long  and the table cann't open again.does the' text'  type cann't store more than  about 9,050 char ?
    thank you .
                            xv hai

Re: does the' text' type cann't store more than 20,000char ?

От
"Mitch Vincent"
Дата:
It can't be any larger than 8k (minus a bit of overhead). You can increase
this now to 32k (again, minus the same overhead) by changing BLKSZ to 32k in
the config.h header..

I'm successfully doing this in my database (which is pretty high-traffic and
pretty large).

Good luck!

-Mitch
----- Original Message -----
From: xu hai <xvhai@21cn.com>
To: <pgsql-sql@postgresql.org>
Sent: Tuesday, May 30, 2000 9:11 PM
Subject: [SQL] does the' text' type cann't store more than 20,000char ?


> hi .everyine
>     when i want put a long file into a field  with text type . i was
warning the turple is
> too long  and the table cann't open again.does the' text'  type cann't
store more than  about 9,050 char ?
>     thank you .
>                             xv hai
>