On Fri, Dec 6, 2013 at 1:43 PM, <jheinz@zeitwerk.de> wrote:
>
> CREATE TRIGGER tsetdefault
> BEFORE INSERT OR UPDATE
> ON address
> FOR EACH ROW
> EXECUTE PROCEDURE setaddressdefault(E'\\\\7800');
Are you sure setaddressdefault() carefully returns the NEW row every
time? If it returns NULL the update will be skipped.
--
greg