pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mario De Frutos Dieguez <mariodefrutos@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: row is too big: size 8168, maximum size 8160
Date: Wed, 11 Jul 2018 10:40:28 -0400
Message-ID: <19464.1531320028@sss.pgh.pa.us> (raw)
In-Reply-To: <CAFYwGJ0Sphm9m3noXMgYf=1iDCn1=V2+7+VCD-nRg+C21Ee-gA@mail.gmail.com>
References: <CAFYwGJ0Sphm9m3noXMgYf=1iDCn1=V2+7+VCD-nRg+C21Ee-gA@mail.gmail.com>

Mario De Frutos Dieguez <mariodefrutos@gmail.com> writes:
> I've found this error message and it's driving me crazy.

> I have a table with 790 numeric columns, I'm trying to make an INSERT INTO
> x SELECT... and in the same column/s I'm getting this message.

You can either rethink your data representation (maybe you could put a
bunch of those values into an array?) or recompile/re-initdb with a
larger value of BLCKSZ.  I'd favor the former --- 790 columns is too many.

			regards, tom lane




view thread (6+ messages)  latest in thread

Message-ID: <19464.1531320028@sss.pgh.pa.us>
Permalink:  ../19464.1531320028@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19464.1531320028@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mariodefrutos@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: row is too big: size 8168, maximum size 8160
  In-Reply-To: <19464.1531320028@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