Re: [BUGS] BUG #8213: Set-valued function error in union

2013-06-05 Thread Tom Lane
eric-postgre...@soroos.net writes: > -- this fails. I'd expect it to succeed. > select id, dt from >(select 1 as id, generate_series(now()::date, now()::date + '1 > month'::interval, '1 day')::date as dt > union > select 2, now()::date > ) as foo > where dt < now()+'15 days'::interva

[BUGS] BUG #8213: Set-valued function error in union

2013-06-05 Thread eric-postgresql
The following bug has been logged on the website: Bug reference: 8213 Logged by: Eric Soroos Email address: eric-postgre...@soroos.net PostgreSQL version: 9.0.13 Operating system: Ubuntu 10.04, 32bit Description: This has been replicated on 9.2.4 and HEAD by ilmari_ a