We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent9340fb8 commit5ac144dCopy full SHA for 5ac144d
src/backend/storage/file/fd.c
@@ -1398,7 +1398,8 @@ AllocateFile(const char *name, const char *mode)
1398
*/
1399
if (numAllocatedDescs >=MAX_ALLOCATED_DESCS||
1400
numAllocatedDescs >=max_safe_fds-1)
1401
-elog(ERROR,"too many private files demanded");
+elog(ERROR,"exceeded MAX_ALLOCATED_DESCS while trying to open file \"%s\"",
1402
+name);
1403
1404
TryAgain:
1405
if ((file=fopen(name,mode))!=NULL)
@@ -1513,7 +1514,8 @@ AllocateDir(const char *dirname)
1513
1514
1515
1516
-elog(ERROR,"too many private dirs demanded");
1517
+elog(ERROR,"exceeded MAX_ALLOCATED_DESCS while trying to open directory \"%s\"",
1518
+dirname);
1519
1520
1521
if ((dir=opendir(dirname))!=NULL)