pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rainer Mager <rmager@vgkk.com>
To: pgsql-admin@postgresql.org
Subject: RE: SQL statement limit
Date: Wed, 20 Dec 2000 07:46:52 +0900
Message-ID: <NEBBJBCAFMMNIHGDLFKGEEAECKAA.rmager@vgkk.com> (raw)
In-Reply-To: <002a01c069ce$df7e4df0$2eac9dc0@vespers>

I was unclear on this, although I think the answer below is correct for my
real question. Let me ask this question again...

What is the current size limit for a single row (say for type TEXT or
VARCHAR)? When is this expected to go away (7.1?)?

Is the info below accurate? Am I limited to 32k (if I rebuild)?


Thanks,

--Rainer


-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Serge Canizares
Sent: Wednesday, December 20, 2000 12:18 AM
To: Rainer Mager
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] SQL statement limit


If I understand your question, you can change this limit, but not to 200k.

By default, the data limit in a field record is 8k in the PostgreSQL 7.0x
series.
You can make it 16k or 32k.

Go into the src/include subdir of whatever directory you extracted the
tarball into.

Before compiling, edit the file called "config.h.in".
Change the line from

#define BLCKSZ 8192

to

#define BLCKSZ 32768

(for 32k limit).

-Serge




view thread (3+ messages)

Message-ID: <NEBBJBCAFMMNIHGDLFKGEEAECKAA.rmager@vgkk.com>
Permalink:  ../NEBBJBCAFMMNIHGDLFKGEEAECKAA.rmager@vgkk.com/
Also on:    postgresql.org/message-id/NEBBJBCAFMMNIHGDLFKGEEAECKAA.rmager@vgkk.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-admin@postgresql.org
  Cc: rmager@vgkk.com
  Subject: Re: SQL statement limit
  In-Reply-To: <NEBBJBCAFMMNIHGDLFKGEEAECKAA.rmager@vgkk.com>
  References: <002a01c069ce$df7e4df0$2eac9dc0@vespers> <NEBBJBCAFMMNIHGDLFKGEEAECKAA.rmager@vgkk.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