pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Jie Liang <jie@stbernard.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: postgres-list <pgsql-admin@postgresql.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] rules
Date: Wed, 19 May 2004 10:50:34 -0700 (PDT)
Message-ID: <20040519104830.J85664@megazone.bigpanda.com> (raw)
In-Reply-To: <E7E213858379814A9AE48CA6754F5ECB1E1FC8@mail01.stbernard.com>
References: <E7E213858379814A9AE48CA6754F5ECB1E1FC8@mail01.stbernard.com>

On Wed, 19 May 2004, Jie Liang wrote:

> According to the document of rule:
>
> CREATE RULE rulename AS ON delete TO mytablename DO
> (
> delete from aaa where id=OLD.id;
> Delete from bbb where id=OLD.id;
> Delete from ccc where id=OLD.id
> );
>
>
> Should work, but it doesn't, what wrong with it?

What is it doing and what version is this on?




view thread (22+ messages)  latest in thread

Message-ID: <20040519104830.J85664@megazone.bigpanda.com>
Permalink:  ../20040519104830.J85664@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20040519104830.J85664@megazone.bigpanda.com

 · 

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: sszabo@megazone.bigpanda.com, jie@stbernard.com, tgl@sss.pgh.pa.us, pgsql-admin@postgresql.org
  Subject: Re: [SQL] rules
  In-Reply-To: <20040519104830.J85664@megazone.bigpanda.com>

* 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