Skip site navigation (1) Skip section navigation (2)

pgsql: Add ERROR_NO_MORE_FILES workaround to check_data_dir().

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add ERROR_NO_MORE_FILES workaround to check_data_dir().
Date: 2005-08-02 15:16:29
Message-ID: 20050802151629.806BC52F28@svr1.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Tom LaneDate: 2005-08-02 15:17:25
Subject: pgsql: Use ReadDir() not readdir() so as to have some modicum of error
Previous:From: Tom LaneDate: 2005-08-02 15:14:56
Subject: pgsql: rmtree() reported the wrong pathname if final rmdir failed.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group