Hi.
The function *ScanPgRelation* can return a invalid tuple.It is necessary to check the function's return,as is already done in other parts of the source.
patch attached.
Best regards,Ranier Vilela