File tree 1 file changed +4
-2
lines changed 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1398,7 +1398,8 @@ AllocateFile(const char *name, const char *mode)
1398
1398
*/
1399
1399
if (numAllocatedDescs >= MAX_ALLOCATED_DESCS ||
1400
1400
numAllocatedDescs >= max_safe_fds - 1 )
1401
- elog (ERROR , "too many private files demanded" );
1401
+ elog (ERROR , "exceeded MAX_ALLOCATED_DESCS while trying to open file \"%s\"" ,
1402
+ name );
1402
1403
1403
1404
TryAgain :
1404
1405
if ((file = fopen (name , mode )) != NULL )
@@ -1513,7 +1514,8 @@ AllocateDir(const char *dirname)
1513
1514
*/
1514
1515
if (numAllocatedDescs >= MAX_ALLOCATED_DESCS ||
1515
1516
numAllocatedDescs >= max_safe_fds - 1 )
1516
- elog (ERROR , "too many private dirs demanded" );
1517
+ elog (ERROR , "exceeded MAX_ALLOCATED_DESCS while trying to open directory \"%s\"" ,
1518
+ dirname );
1517
1519
1518
1520
TryAgain :
1519
1521
if ((dir = opendir (dirname )) != NULL )
You can’t perform that action at this time.
0 commit comments