> vSql = 'ALTER USER '||'"'||OLD.idcemple||'"'||' ENCRYPTED PASSWORD
> '||'\'||NEW.specpass||\''||' NOCREATEDB NOCREATEUSER';
para que no tengas ese tallarin de comillas prueba las funciones quote_ident() y
quote_literal()
http://www.postgresql.org/docs/8.1/static/functions-string.html
--
Atentamente,
Jaime Casanova
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
Richard Cook