pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: prachi.prachi97ps@gmail.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16275: we are facing  error as psycopg2.errors.ProgramLimitExceeded: row is too big: size 24520, maximum
Date: Tue, 25 Feb 2020 16:05:34 +0100
Message-ID: <20200225150534.bsjf3uwemiwwpbzg@development> (raw)
In-Reply-To: <16275-8fa8cffdeec4d69b@postgresql.org>
References: <16275-8fa8cffdeec4d69b@postgresql.org>

On Tue, Feb 25, 2020 at 06:49:06AM +0000, PG Bug reporting form wrote:
>The following bug has been logged on the website:
>
>Bug reference:      16275
>Logged by:          prachi surangalikar
>Email address:      prachi.prachi97ps@gmail.com
>PostgreSQL version: 12.0
>Operating system:   windows 10
>Description:
>
>i am trying this program using python, i followed the steps but it did not
>helped; how  can i solve this error please tell us
>

This simply meas that you're trying to insert data into a table, but the
resulting row is far too wide (it needs to fit into 8kB data page, but
it's way larger than that).

What exactly is happening depends on how is the table defined. Maybe it
has too many columns, or maybe the columns are wide enough to overflow
the page. Or something like that.

In general, I doubt this is a bug - it's expected behavior, essentially
an implementation limitation. But it's hard to say unless you show us
the table schema.

regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (2+ messages)

Message-ID: <20200225150534.bsjf3uwemiwwpbzg@development>
Permalink:  ../20200225150534.bsjf3uwemiwwpbzg@development/
Also on:    postgresql.org/message-id/20200225150534.bsjf3uwemiwwpbzg@development

 · 

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-bugs@postgresql.org
  Cc: tomas.vondra@2ndquadrant.com, prachi.prachi97ps@gmail.com
  Subject: Re: BUG #16275: we are facing  error as psycopg2.errors.ProgramLimitExceeded: row is too big: size 24520, maximum
  In-Reply-To: <20200225150534.bsjf3uwemiwwpbzg@development>
  References: <16275-8fa8cffdeec4d69b@postgresql.org> <20200225150534.bsjf3uwemiwwpbzg@development>

* 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