pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kyle Bateman <kyle@actarg.com>
To: pgsql-sql@postgresql.org
Subject: Strange error message with 7.0beta1
Date: Fri, 03 Mar 2000 13:45:07 -0700
Message-ID: <38C02452.128EE6B6@actarg.com> (raw)

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

I trimmed back the dump file to a minimum of these commands that will
still generate the error:

CREATE TABLE "exp_log" (
        "expnum" text,
        "amount" float8,
        "tdate" date,
        "toid" int4,
        "pdto" text,
        "memo" text,
        "status" character varying(2),
        "etype" character varying(1),
        "glid" int4,
        "blink" int4);
CREATE TABLE "whold_log" (
        "expnum" text,
        "gross" float8,
        "fed" float8,
        "ssec" float8,
        "mcare" float8,
        "state" float8,
        "garn" float8,
        "med" float8,
        "dent" float8,
        "w125" float8,
        "w401k" float8,
        "eic" float8,
        "other" float8,
        "othacc" character varying,
        "cost" float8,
        "allow" int4,
        "taxstate" character varying(4));
CREATE TABLE "payroll_log" (
        "expnum" text,
        "amount" float8,
        "tdate" date,
        "empl_id" int4,
        "pdto" text,
        "memo" text,
        "status" character varying(2),
        "glid" int4,
        "gross" float8,
        "fed" float8,
        "ssec" float8,
        "mcare" float8,
        "state" float8,
        "garn" float8,
        "med" float8,
        "dent" float8,
        "w125" float8,
        "w401k" float8,
        "eic" float8,
        "other" float8,
        "othacc" character varying,
        "cost" float8,
        "allow" int4,
        "taxstate" character varying(4));
CREATE RULE "_RETpayroll_log" AS
        ON SELECT TO "payroll_log"
        DO INSTEAD
        SELECT  "e"."expnum",
                "e"."amount",
                "e"."tdate",
                "e"."toid" AS "empl_id",
                "e"."pdto",
                "e"."memo",
                "e"."status",
                "e"."glid",
                "w"."gross",
                "w"."fed",
                "w"."ssec",
                "w"."mcare",
                "w"."state",
                "w"."garn",
                "w"."med",
                "w"."dent",
                "w"."w125",
                "w"."w401k",
                "w"."eic",
                "w"."other",
                "w"."othacc",
                "w"."cost",
                "w"."allow",
                "w"."taxstate"
        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.

Any ideas?

Attachments:

kyle.vcf (text/x-vcard, 290B) download begin:vcard n:Bateman;Kyle tel;fax:801-377-8096 tel;work:801-377-8033x101 x-mozilla-html:FALSE url:www.actiontarget.com org:Action Target Inc adr:;;PO Box 636;Provo;UT;84603;US version:2.1 email;internet:kyle@actiontarget.com title:President x-mozilla-cpt:;-15520 fn:Kyle Bateman end:vcard

view thread (3+ messages)  latest in thread

Message-ID: <38C02452.128EE6B6@actarg.com>
Permalink:  ../38C02452.128EE6B6@actarg.com/
Also on:    postgresql.org/message-id/38C02452.128EE6B6@actarg.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-sql@postgresql.org
  Cc: kyle@actarg.com
  Subject: Re: Strange error message with 7.0beta1
  In-Reply-To: <38C02452.128EE6B6@actarg.com>
  References: <38C02452.128EE6B6@actarg.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