On Sat, Sep 11, 2021 at 12:17 AM Dilip Kumar <dilipbal...@gmail.com> wrote: > I agree with you, even though I think that scanning pg_class for identifying > the relfilenode looks like a more sensible thing to do than directly scanning > the file system, we need to consider one point that, now also in current > system (in create database) we are scanning the directory for copying the > file so instead of copying them directly we need to logically identify the > relfilenode and then copy it block by block, so maybe this approach will not > make anyone unhappy because it is not any worse than the current system.
So, I agree. If we can't get agreement on this approach, then we can do that, and as you say, it's no worse than what we are doing now. But I am just trying to lay out my view of why I think that's not as good as this. -- Robert Haas EDB: http://www.enterprisedb.com