pgsql: Fix function code in error report

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Fix function code in error report
Дата
Msg-id E1fQdVX-0002Dv-As@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix function code in error report

This bug causes a lseek() failure to be reported as a "could not open"
failure in the error message, muddling bug reports.  I introduced this
copy-and-pasteo in commit 78e122010422.

Noticed while reviewing code for bug report #15221, from lily liang.  In
version 10 the affected function is only used by multixact.c and
commit_ts, and only in corner-case circumstances, neither of which are
involved in the reported bug (a pg_subtrans failure.)

Author: Álvaro Herrera

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/eee381ef5ec4b16cff37865ccd70510e1e1abcdc

Modified Files
--------------
src/backend/access/transam/slru.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Fix spurious non-ASCII bytes
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix obsolete comment.