"fburg...@radiantblue.com" <fburg...@radiantblue.com> wrote:
> It looks like this script deletes all of the data file > directories (and the data files) from the postgres 8.4.3 > instance. Since we used the "-k" option, which calls for hard > links rather than copying files to the new cluster, wouldn't this > be deleting the files? If so, the DB would be corrupted beyond > recovery if we run it. Or am I missing something? You need to read up on hard links a bit more. Here's one source: http://www.linfo.org/hard_link.html In summary, a hard link allows multiple directory entries to point to the same data location. Until you delete the last directory entry the file remains. -- Kevin Grittner EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs