From: Tom Lane <tgl@sss.pgh.pa.us>
To: Luis Sousa <llsousa@ualg.pt>
Cc: pgsql sql Mailing List <pgsql-sql@postgresql.org>
Subject: Re: Problems using a rule with the WHERE clause
Date: Tue, 26 Jun 2001 10:41:20 -0400
Message-ID: <3075.993566480@sss.pgh.pa.us> (raw)
In-Reply-To: <3B385B5E.A8A31C59@ualg.pt>
References: <3B3753FB.2E1BA9B0@ualg.pt>
<16743.993492071@sss.pgh.pa.us>
<3B385B5E.A8A31C59@ualg.pt>
Luis Sousa <llsousa@ualg.pt> writes:
> I think this code is OK !!!!!
You probably don't want the second and third rules to be INSTEAD.
However,
> But I got the error message bellow in line 11
> of my script, that corresponds to the rule updateturnodocente_default
>
> psql:dev/pessoal/def/views_rules/teste_update:11: pqReadData() -- backend
> closed the channel unexpectedly.
that shouldn't happen, in any case. If this is the current release
(7.1.2) then I'd like to see a complete script to reproduce the problem.
(I don't have time to guess at your table declarations...)
regards, tom lane
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, llsousa@ualg.pt
Subject: Re: Problems using a rule with the WHERE clause
In-Reply-To: <3075.993566480@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