spclocation was remove from pg 9.2 replace by pg_tablespace_location()
Change -l option and fix bug