dbTalk Databases Forums  

[BUGS] Missing Tablespace link error message misleading

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] Missing Tablespace link error message misleading in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Simon Riggs
 
Posts: n/a

Default [BUGS] Missing Tablespace link error message misleading - 11-10-2004 , 03:47 PM







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


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.