Fix function code in error report
authorAlvaro Herrera <[email protected]>
Wed, 6 Jun 2018 18:46:53 +0000 (14:46 -0400)
committerAlvaro Herrera <[email protected]>
Wed, 6 Jun 2018 18:46:53 +0000 (14:46 -0400)
commit78d0b16f189a0ab153e309f6229466e875b5a502
tree0b1d8983c0a9dad73c4e51471d192c78050b7e8a
parenta7d84ef5d783a6679d063ec908412c89fe95ed96
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
src/backend/access/transam/slru.c