Re: [GENERAL] Error in Trigger function. How to correct?

2010-04-14 Thread A. Kretschmer
In response to Andre Lopes : > Hi, > > I have a trigger that runs in my Development machine but not in my Production > machine. the code is the following: > SQL Error: > > ERROR:  function replace(text, unknown, integer) does not exist > LINE 1: select replace(replace(replace(replace(replace(repl

[GENERAL] Error in Trigger function. How to correct?

2010-04-14 Thread Andre Lopes
Hi, I have a trigger that runs in my Development machine but not in my Production machine. the code is the following: [code] CREATE OR REPLACE FUNCTION "aprtr_geraemail_agcompagamento" () RETURNS trigger AS $BODY$ DECLARE vSUBJECT varchar(500); vEMAIL_MSG_BRUTO text; vEMAIL_MSG_C