pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peeter Smitt <peeter.smitt@online.ee>
To: pgsql-sql@postgresql.org
Subject: Rules
Date: Thu, 9 Nov 2000 10:50:44 +0200
Message-ID: <002d01c04a2a$262f2680$6f646ac2@miniraket> (raw)

Hi 

I'm trying to make updateable view useing rules.

CREATE RULE update_rule AS ON UPDATE TO table DO INSTEAD
  SELECT fun1(new);

Thing is that backend gives this error.
  ERROR:  parser: parse error at or near ")"

What i'm doing wrong? Are there any other ways to make updatebale multi-table views?

thanks and joyfull new year.

-----------------------------------------
Peeter Smitt
AS Delfi Online
Pärnu mnt. 158
11317 Tallinn, Estonia
Tel +3726501734
GSM +37256647653
peeter.smitt@online.ee
www.delfi.ee

view thread (22+ messages)  latest in thread

Message-ID: <002d01c04a2a$262f2680$6f646ac2@miniraket>
Permalink:  ../002d01c04a2a$262f2680$6f646ac2@miniraket/
Also on:    postgresql.org/message-id/002d01c04a2a$262f2680$6f646ac2@miniraket

 · 

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: peeter.smitt@online.ee
  Subject: Re: Rules
  In-Reply-To: <002d01c04a2a$262f2680$6f646ac2@miniraket>

* 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