Thread: pgsql: Un-break s_lock_test.

pgsql: Un-break s_lock_test.

From
Tom Lane
Date:
Un-break s_lock_test.

Commit 80abbeba2 evidently didn't bother checking this code.
Also, list the generated executable in .gitignore (so it's
been a REALLY long time since anyone tried this).

Noted while trying out RISC-V spinlock patch.  Given that
this has been broken for 5 years and nobody noticed, it's
likely not worth back-patching.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0a208ed63ffe50a8d9d7c0b33996ec01cc4fdef6

Modified Files
--------------
src/backend/storage/lmgr/.gitignore | 1 +
src/backend/storage/lmgr/s_lock.c   | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)