aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/variable.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-03-03 20:31:41 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-03-03 20:31:41 +0000
commit1b8fe53c79f9b9b411733047de2a7a809b506591 (patch)
treee1456afa6495cb61f0a94f04311072cf6e242bd0 /src/backend/commands/variable.c
parenta15fa97a18642db487b1176384e27a281976c950 (diff)
downloadpostgresql-1b8fe53c79f9b9b411733047de2a7a809b506591.tar.gz
postgresql-1b8fe53c79f9b9b411733047de2a7a809b506591.zip
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.)
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions