agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: MARCIN JANUCHTA (P.445) <MARTIN@kastor.ics.tup.edu.pl>
To: postgres@postgres.Berkeley.EDU
Subject: lispRead error
Date: Thu, 24 Mar 1994 21:25:39 CET-0
Message-ID: <96C266D67@kastor.ics.tup.edu.pl> (raw)



I have defined a rule (in v.4.1) :

define rule ne is on append to emp do
replace new (salary=int4ave{emp.salary}) 
 

append emp(number=1234,name="Joe",salary=20000)

Query sent to backend is "append emp(number=1234,name="Joe",salary=20000) "
WARN:Mar 24 18:34:11:Bad type (lispRead)

Can anybody advise me what's the problem? Is the aggregate
call responsible for the failure? Is it due to a general ban
on fuctions in rule actions?

Thanks in advance,
Martin

-------------------------
M.Januchta                     martin@pozn1v.tup.edu.pl
Institute of Computing Science       @kastor.ics.tup.edu.pl
Poznan Technical University
Poznan, Poland




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: postgres@postgres.berkeley.edu
  Cc: MARTIN@kastor.ics.tup.edu.pl
  Subject: Re: lispRead error
  In-Reply-To: <96C266D67@kastor.ics.tup.edu.pl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox