X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 783303A492D for ; Thu, 20 Jan 2005 20:38:37 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 72575-04 for ; Thu, 20 Jan 2005 20:38:27 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 6148D3A4927 for ; Thu, 20 Jan 2005 20:38:27 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j0KKc7Qp008973; Thu, 20 Jan 2005 15:38:07 -0500 (EST) To: "Joel Fradkin" Cc: "'Michael Fuhr'" , pgsql-sql@postgresql.org Subject: Re: ERROR: row is too big: size 9856, maximum size 8136 In-reply-to: <000601c4ff14$562cec70$797ba8c0@jfradkin> References: <000601c4ff14$562cec70$797ba8c0@jfradkin> Comments: In-reply-to "Joel Fradkin" message dated "Thu, 20 Jan 2005 12:20:26 -0500" Date: Thu, 20 Jan 2005 15:38:07 -0500 Message-ID: <8972.1106253487@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/180 X-Sequence-Number: 19968 "Joel Fradkin" 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