postgresql/src/backend/utils/cache
Bruce Momjian a53ea467e1 Hi all,
I  don't know if this is really related to the initdb problem
    discussion (haven't followed it enough). But seems so because
    it  fixes  a  damn  problem  during  index tuple insertion on
    CREATE TABLE into pg_attribute_relid_attnum_index.

    Anyway - this bug was really hard to find. During startup the
    relcache  reads  in  some  prepared  information  about index
    strategies from a file and then  reinitializes  the  function
    pointers  inside  the  scanKey data.  But for sake it assumed
    single attribute index tuples (hasn't that changed recently).
    Thus not all the strategies scanKey entries where initialized
    properly,  resulting  in  invalid  addresses  for  the  btree
    comparision functions.

    With  the  patch  at  the  end  the  regression  tests passed
    excellent except for the sanity_check that crashed at  vacuum
    and the misc test where the select unique1 from onek2 outputs
    the two rows in different order.

Jan
1998-08-28 03:36:31 +00:00
..
catcache.c heap_fetch requires buffer pointer, must be released; heap_getnext 1998-08-19 02:04:17 +00:00
fcache.c o note that now pg_database has a new attribuite "encoding" even 1998-08-24 01:14:24 +00:00
inval.c fix for index problem. 1998-08-20 22:07:46 +00:00
lsyscache.c heap_fetch requires buffer pointer, must be released; heap_getnext 1998-08-19 02:04:17 +00:00
Makefile o note that now pg_database has a new attribuite "encoding" even 1998-08-24 01:14:24 +00:00
rel.c Used modified version of indent that understands over 100 typedefs. 1997-09-08 21:56:23 +00:00
relcache.c Hi all, 1998-08-28 03:36:31 +00:00
syscache.c heap_fetch requires buffer pointer, must be released; heap_getnext 1998-08-19 02:04:17 +00:00