pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Hoover <revoohc@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Problem with rules
Date: Thu, 25 Aug 2005 17:53:29 -0400
Message-ID: <1d219a6f050825145310f26f6e@mail.gmail.com> (raw)

I am having a problem with the rule system in 7.3.4. 

I have a view with an on insert do instead rule that is calling a
function and passing new.*.  When try to insert a row into the view, I
get ERROR: ResolveNew: can't handle whole-tuple reference.

I was working with this in 8.0 on an R&D project.  However, management
liked the concept I was working on so much, they asked me to try and
see if I can get it to run in our current environment of 7.3.4.

So far, this does not look good.  Any way to get around this issue
(and no, a db upgrade at the time is not available.  But one is
scheduled in the next 6 months).

Thanks,

Chris



view thread (2+ messages)  latest in thread

Message-ID: <1d219a6f050825145310f26f6e@mail.gmail.com>
Permalink:  ../1d219a6f050825145310f26f6e@mail.gmail.com/
Also on:    postgresql.org/message-id/1d219a6f050825145310f26f6e@mail.gmail.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-admin@postgresql.org
  Cc: revoohc@gmail.com
  Subject: Re: Problem with rules
  In-Reply-To: <1d219a6f050825145310f26f6e@mail.gmail.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