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

pgsql: Use ReadDir() not readdir() so as to have some modicum of error

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use ReadDir() not readdir() so as to have some modicum of error
Date: 2005-08-02 15:17:25
Message-ID: 20050802151725.7889152F29@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Use ReadDir() not readdir() so as to have some modicum of error checking.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        dbsize.c (r1.2 -> r1.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/dbsize.c.diff?r1=1.2&r2=1.3)

pgsql-committers by date

Next:From: Tom LaneDate: 2005-08-02 16:11:58
Subject: pgsql: Code and docs review for pg_column_size() patch.
Previous:From: Tom LaneDate: 2005-08-02 15:16:29
Subject: pgsql: Add ERROR_NO_MORE_FILES workaround to check_data_dir().

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