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

pgsql: Fix a couple of places that would loop forever if attempts to

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix a couple of places that would loop forever if attempts to
Date: 2010-03-03 20:31:50
Message-ID: 20100303203150.96EAF7541D0@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix a couple of places that would loop forever if attempts to read a stdio file
set ferror() but never set feof().  This is known to be the case for recent
glibc when trying to read a directory as a file, and might be true for other
platforms/cases too.  Per report from Ed L.  (There is more that we ought to
do about his report, but this is one easily identifiable issue.)

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/commands:
        copy.c (r1.213.2.3 -> r1.213.2.4)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/copy.c?r1=1.213.2.3&r2=1.213.2.4)
    pgsql/src/backend/libpq:
        hba.c (r1.116.2.4 -> r1.116.2.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/hba.c?r1=1.116.2.4&r2=1.116.2.5)
    pgsql/src/interfaces/libpq:
        fe-connect.c (r1.263.2.6 -> r1.263.2.7)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-connect.c?r1=1.263.2.6&r2=1.263.2.7)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2010-03-03 22:28:42
Subject: pgsql: Document that "Q" is ignored by to_date and to_timestamp.
Previous:From: Tom LaneDate: 2010-03-03 20:31:41
Subject: pgsql: Fix a couple of places that would loop forever if attempts to

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