From: pierre@desertmoon.com
To: pgsql-sql@postgreSQL.org
Subject: [SQL] Rule problem (fwd)
Date: Thu, 11 Feb 1999 07:42:46 -0700 (MST)
Message-ID: <19990211144246.29596.qmail@desertmoon.com> (raw)
All,
I never got any email concerning this issue. Has no one any ideas?
>
> 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
>
>
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: pierre@desertmoon.com
Subject: Re: [SQL] Rule problem (fwd)
In-Reply-To: <19990211144246.29596.qmail@desertmoon.com>
References: <19990211144246.29596.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