mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2026-06-21 01:34:15 +02:00
[Issue #203] change error message wording
This commit is contained in:
+4
-4
@@ -262,8 +262,8 @@ DIR* fio_opendir(char const* path, fio_location location)
|
|||||||
mask = fio_fdset;
|
mask = fio_fdset;
|
||||||
for (i = 0; (mask & 1) != 0; i++, mask >>= 1);
|
for (i = 0; (mask & 1) != 0; i++, mask >>= 1);
|
||||||
if (i == FIO_FDMAX) {
|
if (i == FIO_FDMAX) {
|
||||||
elog(ERROR, "FIO_FDMAX is exceeded in fio_opendir, "
|
elog(ERROR, "Descriptor pool for remote files is exhausted, "
|
||||||
"probably too many remote directories has been opened");
|
"probably too many remote directories are opened");
|
||||||
}
|
}
|
||||||
hdr.cop = FIO_OPENDIR;
|
hdr.cop = FIO_OPENDIR;
|
||||||
hdr.handle = i;
|
hdr.handle = i;
|
||||||
@@ -351,8 +351,8 @@ int fio_open(char const* path, int mode, fio_location location)
|
|||||||
mask = fio_fdset;
|
mask = fio_fdset;
|
||||||
for (i = 0; (mask & 1) != 0; i++, mask >>= 1);
|
for (i = 0; (mask & 1) != 0; i++, mask >>= 1);
|
||||||
if (i == FIO_FDMAX)
|
if (i == FIO_FDMAX)
|
||||||
elog(ERROR, "FIO_FDMAX is exceeded in fio_open, "
|
elog(ERROR, "Descriptor pool for remote files is exhausted, "
|
||||||
"probably too many remote files has been opened");
|
"probably too many remote files are opened");
|
||||||
|
|
||||||
hdr.cop = FIO_OPEN;
|
hdr.cop = FIO_OPEN;
|
||||||
hdr.handle = i;
|
hdr.handle = i;
|
||||||
|
|||||||
Reference in New Issue
Block a user