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

vacuum crash

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: hackers(at)postgreSQL(dot)org (PostgreSQL-development)
Subject: vacuum crash
Date: 1998-10-08 02:23:19
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
I think I am on to something.

The funny way I update the system tables with vacuum optimization
information is wrong, I think, and the new cache code is properly
complaining about it.

I will keep testing.  If I comment out the following code, the vacuum works.
Is there a better way to do this?


    /* XXX -- after write, should invalidate relcache in other backends */
     * invalidating system relations confuses the function cache of
     * pg_operator and pg_opclass, bjm
    if (!IsSystemRelationName(pgcform->
        RelationInvalidateHeapTuple(rd, rtup);

  Bruce Momjian                        |
  maillist(at)candle(dot)pha(dot)pa(dot)us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026


pgsql-hackers by date

Next:From: Bruce MomjianDate: 1998-10-08 04:44:58
Subject: Re: [HACKERS] vacuum crash
Previous:From: Bruce MomjianDate: 1998-10-08 00:40:39
Subject: Re: [PATCHES] Missing file from JDBC Driver

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