From: Dinesh Pandey <dpandey@secf.com>
To: 'Ramakrishnan Muralidharan' <ramakrishnanm@pervasive-postgres.com>
To: pgsql-general@postgresql.org
To: 'PostgreSQL' <pgsql-sql@postgresql.org>
Subject: Re: [SQL] index row size 2728 exceeds btree maximum, 2713
Date: Thu, 1 Jan 2004 15:13:48 +0530
Message-ID: <20050602094845.E510852923@svr1.postgresql.org> (raw)
In-Reply-To: <02767D4600E59A4487233B23AEF5C5992A408F@blrmail1.aus.pervasive.com>
Hi,
One of the columns in primary key is of type "TEXT". I am able to insert
with small data, but for around 3000 characters it's failing. How to handle
that?
Thanks
Dinesh Pandey
_____
From: Ramakrishnan Muralidharan
[mailto:ramakrishnanm@pervasive-postgres.com]
Sent: Thursday, June 02, 2005 3:11 PM
To: dpandey@secf.com; pgsql-general@postgresql.org; PostgreSQL
Subject: RE: [SQL] index row size 2728 exceeds btree maximum, 2713
Hi,
The issue looks like your Index width exceeds the maximum width
of the index key limit, Please review the keys used in the index.
Regards,
R.Muralidharan
-----Original Message-----
From: pgsql-sql-owner@postgresql.org
[mailto:pgsql-sql-owner@postgresql.org]On Behalf Of Dinesh Pandey
Sent: Thursday, June 02, 2005 12:35 PM
To: pgsql-general@postgresql.org; 'PostgreSQL'
Subject: [SQL] index row size 2728 exceeds btree maximum, 2713
TABLE
-----------+-----------------------+-----------
Column | Type
-----------+-----------------------+-----------
scan_id | bigint
host_ip | character varying(15)
port_num | integer
plugin_id | integer
severity | character varying(50)
data | text
Indexes:
"pk_scanned_port_info" PRIMARY KEY, btree (scan_id, host_ip, port_num,
plugin_id, severity, data)
On inserting record I am getting this error "index row size 2728 exceeds
btree maximum, 2713"
How to solve this problem?
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-sql@postgresql.org
Cc: dpandey@secf.com, ramakrishnanm@pervasive-postgres.com, pgsql-general@postgresql.org
Subject: Re: [SQL] index row size 2728 exceeds btree maximum, 2713
In-Reply-To: <20050602094845.E510852923@svr1.postgresql.org>
* 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