Skip site navigation (1) Skip section navigation (2)

Re: minimal update

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Kenneth Marshall <ktm(at)rice(dot)edu>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Simon Riggs <simon(at)2ndQuadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Bruce Momjian <bruce(at)momjian(dot)us>, Gurjeet Singh <singh(dot)gurjeet(at)gmail(dot)com>, Michael Glaesemann <grzm(at)seespotcode(dot)net>, David Fetter <david(at)fetter(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: minimal update
Date: 2008-10-29 19:35:21
Message-ID: 20081029193521.GJ4331@alvh.no-ip.org (view raw or flat)
Thread:
Lists: 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.

In response to

Responses

pgsql-hackers by date

Next:From: Gevik BabakhaniDate: 2008-10-29 19:44:36
Subject: PostgreSQL network discovery
Previous:From: Magnus HaganderDate: 2008-10-29 19:34:35
Subject: Re: minimal update

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group