index scan. Problem was that link to outer tuple wasn't being stored everyplace it needed to be.
Attach a file by drag & drop or click to upload