X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DFACC52894; Thu, 2 Jun 2005 07:45:23 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 42119-02; Thu, 2 Jun 2005 10:45:21 +0000 (GMT) Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by svr1.postgresql.org (Postfix) with ESMTP id 12A16528D0; Thu, 2 Jun 2005 07:45:18 -0300 (ADT) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id C66ED40DF86; Thu, 2 Jun 2005 11:45:13 +0100 (BST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id DB01F15ED6; Thu, 2 Jun 2005 11:43:48 +0100 (BST) Received: from mainbox.archonet.com ([127.0.0.1]) by localhost (mainbox [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18469-01; Thu, 2 Jun 2005 11:43:46 +0100 (BST) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 46F5A15ED5; Thu, 2 Jun 2005 11:43:46 +0100 (BST) Message-ID: <429EE2E1.30904@archonet.com> Date: Thu, 02 Jun 2005 11:43:45 +0100 From: Richard Huxton User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dpandey@secf.com Cc: pgsql-general@postgresql.org, 'PostgreSQL' Subject: Re: [SQL] index row size 2728 exceeds btree maximum, 2713 References: <20050602101340.9FCC75280A@svr1.postgresql.org> In-Reply-To: <20050602101340.9FCC75280A@svr1.postgresql.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.053 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200506/75 X-Sequence-Number: 78783 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