Re: minimal update - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: minimal update
Date
Msg-id 20081029193521.GJ4331@alvh.no-ip.org
Whole thread Raw
In response to Re: minimal update  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: minimal update
List pgsql-hackers
Andrew Dunstan escribió:

> +     /* make sure it's called as a trigger */
> +     if (!CALLED_AS_TRIGGER(fcinfo))
> +         elog(ERROR, "suppress_redundant_updates_trigger: must be called as trigger");

Shouldn't these all be ereport()?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: "Noah Freire"
Date:
Subject: Re: autovacuum: I need some explanation
Next
From: "Gevik Babakhani"
Date:
Subject: PostgreSQL network discovery