Re: Is there a bug in FOR i IN 1..10 LOOP (8.4.4)? - Mailing list pgsql-general

From Rob Richardson
Subject Re: Is there a bug in FOR i IN 1..10 LOOP (8.4.4)?
Date
Msg-id 04A6DB42D2BA534FAC77B90562A6A03D0155474B@server.rad-con.local
Whole thread Raw
In response to Is there a bug in FOR i IN 1..10 LOOP (8.4.4)?  (Nick <nboutelier@gmail.com>)
List pgsql-general
What makes you think there is a bug?  What does this function return for
you?  It always helps us to see everything you have seen.

Without taking the time to try it on my system, I'd recommend explictly
converting your index to text:
num_var := num_var || ',' || i::text;

RobR

pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: How to inherit search_path from template
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Incrementally Updated Backups