Carmen Gloria Sepulveda Dedes <csepulveda@atichile.com> writes:
> I get:
> ERROR: variable not found in subplan target list
Could we have enough context to reproduce the problem? I don't have
time to guess at your table definitions ...
regards, tom lane