From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joel Fradkin <jfradkin@wazagua.com>
Cc: 'Michael Fuhr' <mike@fuhr.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: ERROR: row is too big: size 9856, maximum size 8136
Date: Thu, 20 Jan 2005 15:38:07 -0500
Message-ID: <8972.1106253487@sss.pgh.pa.us> (raw)
In-Reply-To: <000601c4ff14$562cec70$797ba8c0@jfradkin>
References: <000601c4ff14$562cec70$797ba8c0@jfradkin>
"Joel Fradkin" <jfradkin@wazagua.com> writes:
> Sorry, that was the statement that caused the error.
Hmm. The error is associated with trying to store an oversized row.
And CREATE VIEW doesn't store any rows ... except into system catalogs.
So the only theory I can think of is that the pg_rewrite row for the
view is exceeding 8K. Which can't happen, because no matter how
complicated the view definition rule is, the tuple toaster should have
sprung into action and pushed the rule text out-of-line.
Could we see the results of
select * from pg_class where relname = 'pg_rewrite';
select attname,atttypid::regtype,attstorage from pg_attribute where
attrelid = 'pg_rewrite'::regclass and attnum > 0;
7.4 should certainly be configured to have a toast table for pg_rewrite,
but maybe something went wrong during initdb on your installation.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, jfradkin@wazagua.com, mike@fuhr.org
Subject: Re: ERROR: row is too big: size 9856, maximum size 8136
In-Reply-To: <8972.1106253487@sss.pgh.pa.us>
* 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