Due to a lack of time, I'm closing the thread. It takes a little more code, but I've decided to just forget about the loop and write every single statement in my function.
Thanks anyway for explaning and brainstorming.
>>> Ragnar <gnari@hive.is> 2006-11-28 10:28 >>>
On þri, 2006-11-28 at 09:14 +0100, Bart Degryse wrote:
> Yes, I tried and it didn't work. PostgreSQL surely makes something of
> it, but not the right characters.
maybe you should show us exacly what you did, and what
you got, and what you expected
> Unless Markus can make his idea using "decode" work, this might be
> something pl/pgsql cannot do.
did you try the function I posted yesterday elsewhere
in this thread?
gnari