Fix function code in error report

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 1a552256f6deae287140a608504e7ea7e8b633a2
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2018-06-06T18:47:57Z
Releases: 9.6.10
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

Files

PathChange+/−
src/backend/access/transam/slru.c modified +1 −1