pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
SQL statement limit 3+ messages / 2 participants [nested] [flat]
* SQL statement limit @ 2000-12-19 11:31 Rainer Mager <rmager@vgkk.com> 0 siblings, 1 reply; 3+ messages in thread From: Rainer Mager @ 2000-12-19 11:31 UTC (permalink / raw) To: pgsql-admin Hi all, We have a pretty significant problem with the current 4k (or is it 8k) limit in length of a single SQL statement. I remember reading somewhere that this limit has been (will be) completely removed in 7.1 but I'd like to verify this. Also if anyone has a reasonable guess to 7.1's release date I'd be very interested. Oh yeah, also, is the limit changeable at compile time? If so, if we set it to something like 200k, would that work? Thanks, --Rainer ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: SQL statement limit @ 2000-12-19 15:17 Serge Canizares <serge@ephilosopher.com> parent: Rainer Mager <rmager@vgkk.com> 0 siblings, 1 reply; 3+ messages in thread From: Serge Canizares @ 2000-12-19 15:17 UTC (permalink / raw) To: Rainer Mager <rmager@vgkk.com>; +Cc: pgsql-admin 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 > Oh yeah, also, is the limit changeable at compile time? If so, if we set it > to something like 200k, would that work? > > Thanks, > > --Rainer > > ^ permalink raw reply [nested|flat] 3+ messages in thread
* RE: SQL statement limit @ 2000-12-19 22:46 Rainer Mager <rmager@vgkk.com> parent: Serge Canizares <serge@ephilosopher.com> 0 siblings, 0 replies; 3+ messages in thread From: Rainer Mager @ 2000-12-19 22:46 UTC (permalink / raw) To: pgsql-admin 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 ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2000-12-19 22:46 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2000-12-19 11:31 SQL statement limit Rainer Mager <rmager@vgkk.com> 2000-12-19 15:17 ` Serge Canizares <serge@ephilosopher.com> 2000-12-19 22:46 ` Rainer Mager <rmager@vgkk.com>
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