In running a query I receive the error: ERROR: variable not found in subplan target lists The version is 8.1.5 I can find references to this message. Seems there was a bug in older versions. Should I be finding this in 8.1.5? Any advice? Thank you and much appreciated. Mark