here's a patch that joins on pg_class.oid instead of pg_class.relfilenode, also i have renamed the table structure from relfilenode to relid.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных