Mauricio Mantilla <mauriciomantilla@cable.net.co> writes:
> Hi, I'm having a problem with FETCH INTO, but I can't figure out what it is.
That kinda looks like a bug. Which PG version are you using exactly?
Could you provide a self-contained test case (ie, a script to create
the needed tables and sample data)?
regards, tom lane