Andrew Holm-Hansen <andrew(at)einer(dot)org> writes:> ERROR: variable not found in subplan target list
What PG version is this? We've fixed a number of bugs with thatsymptom, IIRC ...
regards, tom lane