pgsql: Add ERROR_NO_MORE_FILES workaround to check_data_dir(). - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Add ERROR_NO_MORE_FILES workaround to check_data_dir().
Date
Msg-id 20050802151629.806BC52F28@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Add ERROR_NO_MORE_FILES workaround to check_data_dir().  This may or
may not be obsolete, but since every other readdir loop in our code
has it, I think this should too.

Modified Files:
--------------
    pgsql/src/bin/initdb:
        initdb.c (r1.93 -> r1.94)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c.diff?r1=1.93&r2=1.94)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: rmtree() reported the wrong pathname if final rmdir failed.
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Use ReadDir() not readdir() so as to have some modicum of error