unplanned sub-select error?

Поиск
Список
Период
Сортировка
От Kyle Bateman
Тема unplanned sub-select error?
Дата
Msg-id 43826850.1020302@actarg.com
обсуждение исходный текст
Ответы Re: unplanned sub-select error?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
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

Anyone know what this means?  Is there a good reason why this update 
should no longer work?  Or is this a bug?

Kyle
wyatterp.com



В списке pgsql-sql по дате отправления:

Предыдущее
От: "Bath, David"
Дата:
Сообщение: Re: idea for a geographically distributed database: how best to implement?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: unplanned sub-select error?