pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mitch Vincent <mitch@venux.net>
To: xu hai <xvhai@21cn.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: does the' text'  type cann't store more than  20,000char ?
Date: Tue, 30 May 2000 21:49:51 -0400
Message-ID: <003501bfcaa2$8d52f4c0$0300000a@doot.org> (raw)
References: <000801bfca9d$29d27d80$670110ac@xuhaipiii2>

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
>




view thread (2+ messages)

Message-ID: <003501bfcaa2$8d52f4c0$0300000a@doot.org>
Permalink:  ../003501bfcaa2$8d52f4c0$0300000a@doot.org/
Also on:    postgresql.org/message-id/003501bfcaa2$8d52f4c0$0300000a@doot.org

 · 

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-sql@postgresql.org
  Cc: mitch@venux.net, xvhai@21cn.com
  Subject: Re: does the' text'  type cann't store more than  20,000char ?
  In-Reply-To: <003501bfcaa2$8d52f4c0$0300000a@doot.org>
  References: <000801bfca9d$29d27d80$670110ac@xuhaipiii2> <003501bfcaa2$8d52f4c0$0300000a@doot.org>

* 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