Re: "variable not found in subplan target list"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: "variable not found in subplan target list"
Дата
Msg-id 3460255.1680008201@sss.pgh.pa.us
обсуждение исходный текст
Ответ на "variable not found in subplan target list"  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: "variable not found in subplan target list"  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> I have to run now so can't dissect it, but while running sqlsmith on the
> SQL/JSON patch after Justin's report, I got $SUBJECT in this query:

I reduced this down to

MERGE INTO public.target_parted as target_0
    USING public.itest1 as ref_0
    ON target_0.b = ref_0.a
    WHEN NOT MATCHED
       THEN INSERT VALUES (42, 13);

The critical moving part seems to just be that the MERGE target
is a partitioned table ... but surely somebody tested that before?

            regards, tom lane



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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Add standard collation UNICODE
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: Hash table scans outside transactions