Missing Tablespace link error message misleading

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Missing Tablespace link error message misleading
Date: 2004-11-10 21:34:17
Message-ID: 1100122456.4442.613.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


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

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2004-11-10 23:38:43 Re: ALTER USER SET log_* not allowed...
Previous Message Tom Lane 2004-11-10 18:19:38 Re: ALTER USER SET log_* not allowed...