pgsql: Fix a couple of places that would loop forever if attempts to
В списке pgsql-committers по дате отправления:
| От | tgl@postgresql.org (Tom Lane) |
|---|---|
| Тема | pgsql: Fix a couple of places that would loop forever if attempts to |
| Дата | |
| Msg-id | 20100303203141.A06DD7541D0@cvs.postgresql.org обсуждение |
| Список | 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:
----
REL8_0_STABLE
Modified Files:
--------------
pgsql/src/backend/commands:
copy.c (r1.236.4.3 -> r1.236.4.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/copy.c?r1=1.236.4.3&r2=1.236.4.4)
pgsql/src/backend/libpq:
hba.c (r1.136.4.1 -> r1.136.4.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/hba.c?r1=1.136.4.1&r2=1.136.4.2)
pgsql/src/interfaces/libpq:
fe-connect.c (r1.301.4.6 -> r1.301.4.7)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-connect.c?r1=1.301.4.6&r2=1.301.4.7)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера