Re: Could not read from file "pg_subtrans/00F5" at offset 122880: Success.

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема Re: Could not read from file "pg_subtrans/00F5" at offset 122880: Success.
Дата
Msg-id 20231128.175443.1171037512392479311.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответ на Re: Could not read from file "pg_subtrans/00F5" at offset 122880: Success.  (Laurenz Albe <laurenz.albe@cybertec.at>)
Ответы Re: Could not read from file "pg_subtrans/00F5" at offset 122880: Success.
Список pgsql-general
At Mon, 27 Nov 2023 19:58:13 +0100, Laurenz Albe <laurenz.albe@cybertec.at> wrote in
> On Mon, 2023-11-27 at 11:50 +0000, Sri Mrudula Attili wrote:
> > ERROR:  could not access status of transaction 16087052
> > DETAIL:  Could not read from file "pg_subtrans/00F5" at offset 122880: Success.

By the way, just out of curiosity, but errno should not be zero at the
time the message above was output, yet "%m" is showing "success",
which implies errno = 0 in Linux. How can that happen?

slru.c:961
>     case SLRU_READ_FAILED:
>       if (errno)
>         ereport(ERROR,
>             (errcode_for_file_access(),
>              errmsg("could not access status of transaction %u", xid),
>              errdetail("Could not read from file \"%s\" at offset %d: %m.",

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center



В списке pgsql-general по дате отправления:

Предыдущее
От: Filip Sedlák
Дата:
Сообщение: Re: Emitting JSON to file using COPY TO
Следующее
От: Dominique Devienne
Дата:
Сообщение: Get back the number of columns of a result-set prior to JSON aggregation