indu ss <ind1_us(at)yahoo(dot)com> writes:
> Still i get this error
> ERROR: syntax error at or near "set"
> CONTEXT: compile of PL/pgSQL function "pgmail" near
> line 1
Somehow, I don't think you are passing this function to the
pltcl PL... either you mistyped the language attribute, or
you've managed to create the pltcl language as referencing
the plpgsql call handler.
regards, tom lane