Re: [GENERAL] index row size 2728 exceeds btree maximum, 2713 - Mailing list pgsql-sql

From Richard Huxton
Subject Re: [GENERAL] index row size 2728 exceeds btree maximum, 2713
Date
Msg-id 429EE2E1.30904@archonet.com
Whole thread Raw
In response to Re: [GENERAL] index row size 2728 exceeds btree maximum, 2713  ("Dinesh Pandey" <dpandey@secf.com>)
List pgsql-sql
Dinesh Pandey wrote:
> I am inserting some log messages in the column "data". (Basically I am
> inserting records from reading an xml file)
>
> In the PRIMARY KEY, btree (scan_id, host_ip, port_num, plugin_id, severity,
> data) data is of type TEXT and can contain long string values.

I'm still not convinced that "data" makes a sensible part of the primary
key. Can you give an example of "data" and explain why the whole value
determines unique-ness?

> The question is how to remove this error "index row size 2728 exceeds btree
> maximum, 2713" by increasing the btree size?
>
> The big problem is "I can not add any additional column in this table."

Why not?

--
   Richard Huxton
   Archonet Ltd

pgsql-sql by date:

Previous
From: "Dinesh Pandey"
Date:
Subject: Re: [GENERAL] index row size 2728 exceeds btree maximum, 2713
Next
From: KÖPFERL Robert
Date:
Subject: Re: [GENERAL] index row size 2728 exceeds btree maximum, 27