pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joerg Hessdoerfer <Joerg.Hessdoerfer@sea-gmbh.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: Continuous inserts...
Date: Wed, 23 Aug 2000 10:10:36 +0200
Message-ID: <4.3.2.7.0.20000823100827.00aff2d0@192.168.0.1> (raw)
In-Reply-To: <13720.966968180@sss.pgh.pa.us>
References: <200008221831.NAA01610@jupiter.greatbridge.com>
	<200008221831.NAA01610@jupiter.greatbridge.com>

Hi!

At 14:16 22.08.00 -0400, you wrote:
>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

Perhaps I should have mentioned that the test was done using 6.5.3 - I didn't
come around to upgrade yet...

Oh, yes, the mentioned rule was the ONLY rule on that database.

Greetings,
         Joerg
--
+------****  Science & Engineering Applications GmbH  ****------+
|                                                               |
| Joerg Hessdoerfer                                             |
| Leading SW developer Phone:    +49 (0)2203-962211             |
| S.E.A GmbH           Fax:                 -962212             |
| D-51147 Koeln        Internet: joerg.hessdoerfer@sea-gmbh.com |
|                                http://www.sea-gmbh.com        |
+---------------------------------------------------------------+




view thread (15+ messages)

Message-ID: <4.3.2.7.0.20000823100827.00aff2d0@192.168.0.1>
Permalink:  ../4.3.2.7.0.20000823100827.00aff2d0@192.168.0.1/
Also on:    postgresql.org/message-id/4.3.2.7.0.20000823100827.00aff2d0@192.168.0.1

 · 

reply

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: Joerg.Hessdoerfer@sea-gmbh.com, tgl@sss.pgh.pa.us
  Subject: Re: Continuous inserts...
  In-Reply-To: <4.3.2.7.0.20000823100827.00aff2d0@192.168.0.1>
  References: <200008221831.NAA01610@jupiter.greatbridge.com> <4.3.2.7.0.20000823100827.00aff2d0@192.168.0.1>

* 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