pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Wiebe Cazemier <halfgaar@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Delete rule chain stops unexpectedly
Date: Tue, 25 Oct 2005 14:06:17 -0400
Message-ID: <18659.1130263577@sss.pgh.pa.us> (raw)
In-Reply-To: <435E4F7C.5060108@gmail.com>
References: <4358F79B.1000409@gmail.com>
	<21436.1129905772@sss.pgh.pa.us>
	<435902DC.3000807@gmail.com>
	<23325.1129910791@sss.pgh.pa.us>
	<435E4F7C.5060108@gmail.com>

Wiebe Cazemier <halfgaar@gmail.com> writes:
> Tom Lane wrote:
>> Because the rule converts those inserts into, effectively,
>> 
>> INSERT INTO debuglog SELECT ... WHERE EXISTS(some matching OLD row);
>> 
>> and there are no longer any matching OLD rows in the view.

> Is this behaviour also present in Postgres 7?

It's always been like that.  We've jiggered some details about the order
of rule firing, but not much else.  If you want a more detailed response
you need to be more specific about what version you're comparing to and
exactly what rules you're worried about.

			regards, tom lane



view thread (8+ messages)

Message-ID: <18659.1130263577@sss.pgh.pa.us>
Permalink:  ../18659.1130263577@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18659.1130263577@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, halfgaar@gmail.com
  Subject: Re: Delete rule chain stops unexpectedly
  In-Reply-To: <18659.1130263577@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