Here's a tiny fix for a harmless typo in catalog.c:
Too much space is allocated for tablespace file path, I guess the directory name used to be "pg_tablespaces" instead of "pg_tblspc" at somepoint.
- Heikki