Re: ERROR: variable not found in subplan target lists

Поиск
Список
Период
Сортировка
От Miroslav Šulc
Тема Re: ERROR: variable not found in subplan target lists
Дата
Msg-id 4704FF48.9020701@startnet.cz
обсуждение исходный текст
Ответ на Re: ERROR: variable not found in subplan target lists  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: ERROR: variable not found in subplan target lists  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane napsal(a):
Alvaro Herrera <alvherre@commandprompt.com> writes: 
Miroslav Ĺ ulc wrote:   
I just verified that the problem is in pg 8.2.5 too.     
 
Can you show us the table definitions?   
We need a *complete* test case, ie, a SQL script to provoke the error
starting from an empty database. 
Here is the complete dump and the query. In my case the bug is reproducible using it.

# SELECT Invoice.* FROM Invoice WHERE false AND InvoiceGroupId IN (SELECT
InvoiceGroup.Id FROM InvoiceGroup INNER JOIN PartnerBranch ON
InvoiceGroup.PartnerBranchId = PartnerBranch.Id  WHERE
PartnerBranch.PartnerIdentificationId IN (132));
ERROR:  variable not found in subplan target lists
		regards, tom lane
Miroslav

Вложения

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

Предыдущее
От: André Volpato
Дата:
Сообщение: Re: multiple row insertion
Следующее
От: Brian Wipf
Дата:
Сообщение: Re: PITR Recovery and out-of-sync indexes