On 6/8/2016 7:04 PM, Patrick B wrote:
FOR crtRow in EXECUTE 'select DISTINCT(account_id) from backup_table WHERE migrated = 1 AND account_id IN '|| $1
where .... and account_id in 21; ? I don't think that's what you want. -- john r pierce, recycling bits in santa cruz