brian <brian(at)zijn-digital(dot)com> writes:> Yes, this one got me, also. Strangely, you need to do:> select iterate('{1,2}');
In reasonably modern versions of PG you could use an array constructor:
select iterate(array[1,2,3]);
regards, tom lane