"Marcelo Edgardo Paniagua Lizarraga" <mpaniagua18(at)gmail(dot)com> writes:
> I'm starting to create my firsts plpgsql functions, and I was
> wondering how to use the string function 'length' in the code of the
> fuction. I have tried so far and I get an error.
There's nothing obviously wrong with what you posted, so the problem
is somewhere in what you left out.
If you want useful help, it's generally advisable to show a complete
example of what you did and exactly what error message you got.
regards, tom lane