Re: value - Mailing list pgsql-general

From David Fetter
Subject Re: value
Date
Msg-id 20100915160744.GA12946@fetter.org
Whole thread Raw
In response to value  (Gissur Þórhallsson <gissur@loftmyndir.is>)
Responses Re: value  (Gissur Þórhallsson <gissur@loftmyndir.is>)
List pgsql-general
On Wed, Sep 15, 2010 at 03:16:55PM +0000, Gissur Þórhallsson wrote:
> Hi there,
>
> I have a somewhat peculiar problem.
>
> To begin with, here are links to my schema and rules: my_table and
> associated rules <http://postgresql.pastebin.com/0eCSuvkU> and
> my_table_history <http://postgresql.pastebin.com/cGm617Cp>
> [etc.]
> Does anybody have any idea what is going on?

Yes.  You're using RULEs where TRIGGERs would do.  Change to TRIGGERs.

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

pgsql-general by date:

Previous
From: Carlos Mennens
Date:
Subject: Re: Table Comments
Next
From: "Scot Kreienkamp"
Date:
Subject: help with error "unexpected pageaddr"