Skip site navigation (1) Skip section navigation (2)

pgsql: Improve a number of elog messages for not-supposed-to-happen

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve a number of elog messages for not-supposed-to-happen
Date: 2007-12-31 04:52:05
Message-ID: 20071231045205.F396A7540F0@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Improve a number of elog messages for not-supposed-to-happen cases in btrees,
since these seem to happen after all in corrupted indexes.  Make sure we
supply the index name in all cases, and provide relevant block numbers where
available.  Also consistently identify the index name as such.

Back-patch to 8.2, in hopes that this might help Mason Hale figure out his
problem.

Modified Files:
--------------
    pgsql/src/backend/access/nbtree:
        nbtinsert.c (r1.162 -> r1.163)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtinsert.c?r1=1.162&r2=1.163)
        nbtpage.c (r1.104 -> r1.105)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtpage.c?r1=1.104&r2=1.105)
        nbtsearch.c (r1.114 -> r1.115)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtsearch.c?r1=1.114&r2=1.115)

Responses

pgsql-committers by date

Next:From: Tom LaneDate: 2007-12-31 04:52:20
Subject: pgsql: Improve a number of elog messages for not-supposed-to-happen
Previous:From: Alvaro HerreraDate: 2007-12-31 03:55:50
Subject: pgsql: Add missing return code checks in the uuid-ossp contrib module,

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group