Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 23rd, 2005, 12:26 AM
muteki
Guest
 
Posts: n/a
Default relfilenode on 7.2.3

Hi,

I would like to know for all the entries inside pg_class table (except for
shared tables and views), does the relfilenode field always correspond to a
physical file on the disk at a given moment? Could there be any
inconsistency between the table entry and the actual file? Or this is only
true when the database is fresh started up without any active connection?
Or there is no guarantee at all?

Also, I have seen some posts earlier regarding to can't drop a certain table
because of the corrupted database, Tom suggests deleting the entry inside
pg_class. Is that enough for 7.2.3? Will vacuum automatically do the
actual clean up for those unlinked indexes/physical files? I remember once
I have to do something to pg_type or some other tables. If that's not
enough, what other tables I should pay attention to as well?

http://archives.postgresql.org/pgsql...0/msg01371.php

Thanks,

--muteki

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

 

Bookmarks

Thread Tools

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles