Re: unplanned sub-select error?
| От | Tom Lane |
|---|---|
| Тема | Re: unplanned sub-select error? |
| Дата | |
| Msg-id | 6603.1132621854@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | unplanned sub-select error? (Kyle Bateman <kyle@actarg.com>) |
| Ответы |
Re: unplanned sub-select error?
|
| Список | pgsql-sql |
Kyle Bateman <kyle@actarg.com> writes:
> I have a query:
> insert into mtr_reg_v_wt (ropnum, inum, pnum, rquant, value, status,
> ddate, fr_proj, to_proj) values (28985,1,1014,1,(select cost from
> prd_part where pnum = 1014),'work','2005-Nov-15',50,75);
> That used to work fine under 7.1.3 but now gives the error:
> ERROR: cannot handle unplanned sub-select
You need to offer a little more context, like what PG version you are
using now and what is the underlying DDL --- I suspect some rules or
views are involved here, but you didn't show them to us.
regards, tom lane
В списке pgsql-sql по дате отправления: