Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 3B68A1337990 for ; Fri, 21 Jan 2011 12:08:42 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 61581-07 for ; Fri, 21 Jan 2011 16:08:34 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from fetter.org (mail.fetter.org [64.81.66.25]) by mail.postgresql.org (Postfix) with ESMTP id 7DA8D1337B53 for ; Fri, 21 Jan 2011 12:08:34 -0400 (AST) Received: by fetter.org (Postfix, from userid 500) id AD79EFBC785; Fri, 21 Jan 2011 08:08:33 -0800 (PST) Date: Fri, 21 Jan 2011 08:08:33 -0800 From: David Fetter To: Kunwar Anjani Tyagi Cc: pgsql-bugs@postgresql.org, utsav.turray@newgen.co.in, deo.bhardwaj@newgen.co.in Subject: Re: Regular issues faced on postgres 8.1 Message-ID: <20110121160833.GB7062@fetter.org> References: <05A01B4BE1254B2EB4606AB4448C9448@central.newgen.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <05A01B4BE1254B2EB4606AB4448C9448@central.newgen.local> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.6 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_RP_RNBL=1.31, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/152 X-Sequence-Number: 29174 On Fri, Jan 21, 2011 at 12:37:19PM +0530, Kunwar Anjani Tyagi wrote: > Server Details : > > Environment : RHEL 4 > Postgres Version :Postgres 8.1 While you would normally need to supply the full version number, as in 8.1.24, you've supplied enough info with the major version, 8.1, which just went end-of-life, i.e. it's no longer supported by the community. > 1.. Missing chunk number 0 for toast value : This case is generated due to corruption of toast table of a particular table.Many times reindexing the toast table solves the problem. > 2.. Cannot insert a duplicate key into unique index : On analysing this case we found that duplicate rows get automatically generated , how-ever the "oids " still remains different (In some of the cases, oids also same). If a there is a primary key constarint on a column , then this condition gets violated and start throwing error. > 3.. Missing file in clog directory : While doing operations on some records, Error comes that an offset of clog file is missing. After analyzing it is found that file itself is missing. To resolve this we need to create blank files padded with zero, resulting in data loss. > Note : The above given problems are mostly on the tables which have high frequency of update. Move to 8.2.19 right away, then start testing your application stack with 9.0.2 (more generally 9.0.latest, whatever "latest" is). The 8.2 branch is supported through December of this year, which should help with your immediate problem. http://wiki.postgresql.org/wiki/PostgreSQL_Release_Support_Policy The 8.2 series doesn't fix the "automatic cast to text" issue which drives the thorough testing you'll need to do with the 9.0 series. Check very carefully here for potential incompatibilities with each major (8.4 -> 9.0) and, to a lesser extent, minor (9.0.1->9.0.2, e.g.) version upgrade. http://www.postgresql.org/docs/current/static/release.html You'll also want to make some kind of plans to build major version upgrades into your development process, as end-of-life is a fact of life in this as in every other software or system. Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter@gmail.com iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate