Re: [SQL] Strange error message with 7.0beta1 - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: [SQL] Strange error message with 7.0beta1
Date
Msg-id Pine.LNX.4.21.0003040356580.489-100000@localhost.localdomain
Whole thread Raw
In response to Strange error message with 7.0beta1  (Kyle Bateman <kyle@actarg.com>)
Responses Re: [SQL] Strange error message with 7.0beta1
List pgsql-sql
Kyle Bateman writes:

> When trying to load my data from a 6.5 pg_dump, I got the error message:
> 
> psql:/tmp/ati-tmp.sql:87: ERROR:  Tuple is too big: size 8164, max size
> 8140

> CREATE TABLE "exp_log" (

> CREATE TABLE "whold_log" (

> CREATE TABLE "payroll_log" (

> CREATE RULE "_RETpayroll_log" AS
>         ON SELECT TO "payroll_log"
>         DO INSTEAD
>         SELECT  "e"."expnum",
[ a lot ]
>         FROM "exp_log" "e", "whold_log" "w"
>         WHERE ("e"."etype" = 'p'::"varchar")
>         AND ("e"."expnum" = "w"."expnum");
> 
> As the SQL was generated by a previous copy of PostgreSQL, I figured it
> might be a problem with the 7.0beta1.

Due to some internal changes the rule descriptor (so to speak) has
expanded in its size so now it doesn't fit within a tuple anymore. There
were some changes done in this area just the other day, so you might want
to get a later beta and try it out. (I think they make these every night.)

-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



pgsql-sql by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [SQL] ENUM Type
Next
From: "Nikolaj Lundsgaard"
Date:
Subject: Left Join