Missing Tablespace link error message misleading
Missing Tablespace link error message misleading
От:
Simon Riggs <simon@2ndquadrant.com>
Дата:
If, by some quirk of fate, you manage to delete the logical link to a tablespace in pg_tblspc, then you try to access a table in that tablespace, you get an error message that says: ERROR: could not open relation 15254222/17230/15254223: No such file or directory This is somewhat misleading. The message implies you do not have the relation, when in fact you do not have the tablespace. Anyway, I'm not expecting anyone to sweat to fix this, since the obvious solution is not to delete the tablespace link in the first place! You can recover the error by replacing the logical link. Anyway...enjoy the speculation as to how this was even discovered :-) -- Best Regards, Simon Riggs