From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jan Wieck <janwieck@Yahoo.com>
Cc: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: Joerg Hessdoerfer <Joerg.Hessdoerfer@sea-gmbh.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Continuous inserts...
Date: Tue, 22 Aug 2000 14:16:20 -0400
Message-ID: <13720.966968180@sss.pgh.pa.us> (raw)
In-Reply-To: <200008221831.NAA01610@jupiter.greatbridge.com>
References: <200008221831.NAA01610@jupiter.greatbridge.com>
Jan Wieck <janwieck@Yahoo.com> writes:
> I haven't looked at the code, but pg_class only has a boolean
> telling if a class has rules or not. Could it be that adding
> more rules (or dropping just a few instead of all) doesn't
> update the pg_class tuple, thus the syscache for the table
> isn't invalidated and other backends continue to use the old
> information instead of rescanning pg_rewrite?
This is done correctly in current sources --- see
setRelhasrulesInRelation(). However I recall having dorked with that
code not long ago, and I forget what it looked like before. Perhaps
7.0.* is broken in this respect? Would think people would have noticed,
though.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, janwieck@Yahoo.com, sszabo@megazone23.bigpanda.com, Joerg.Hessdoerfer@sea-gmbh.com
Subject: Re: Continuous inserts...
In-Reply-To: <13720.966968180@sss.pgh.pa.us>
References: <200008221831.NAA01610@jupiter.greatbridge.com> <13720.966968180@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox