PostgreSQL doesn't allow "re-linking" an external file as a table directly, you must Export then re-create the table. Search about & try Foreign Data Wrappers (FDW) Hope it helps