pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pierre@desertmoon.com
To: pgsql-sql@postgreSQL.org
Subject: Rule problem
Date: Wed, 10 Feb 1999 14:34:28 -0700 (MST)
Message-ID: <19990210213428.4975.qmail@desertmoon.com> (raw)

All,


  given this rule:

create rule add_upref_os as on insert to upref_os do
update gen_stats set total = total + 1 where os_id=current.os_id;

  and this insert....

  insert into upref_os values(1234,2);

  gives me this error continuously until I cancel the query:

NOTICE:  Non-functional update, only first update is performed
NOTICE:  Non-functional update, only first update is performed
NOTICE:  Non-functional update, only first update is performed

  I'm running 6.4. Any ideas? I've got other rules that seem to function without
  issues...

  -=pierre



view thread (4+ messages)  latest in thread

Message-ID: <19990210213428.4975.qmail@desertmoon.com>
Permalink:  ../19990210213428.4975.qmail@desertmoon.com/
Also on:    postgresql.org/message-id/19990210213428.4975.qmail@desertmoon.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: pierre@desertmoon.com
  Subject: Re: Rule problem
  In-Reply-To: <19990210213428.4975.qmail@desertmoon.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