Alvaro Herrera wrote:

The problem with the original coding was that it used the table Oid to
look up the file name, which is wrong.  (Test it with a table that has
been clustered or an index that has been reindexed.)

Um, can't test at the moment. The oldcode used pg_class->relfilnode, which delivers "Name of the on-disk file of this relation" according to the docs. What's wrong with that?

regards,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to