pgsql: Correct statement to actually be the intended assert statement. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Correct statement to actually be the intended assert statement.
Date
Msg-id E1a8QM8-0003na-Hv@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Correct statement to actually be the intended assert statement.

e3f4cfc7 introduced a LWLockHeldByMe() call, without the corresponding
Assert() surrounding it.

Spotted by Coverity.

Backpatch: 9.1+, like the previous commit

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/476c54b89b55c980241ee10d6c3fed32e389135f

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Correct statement to actually be the intended assert statement.
Next
From: Andres Freund
Date:
Subject: pgsql: Fix bug in SetOffsetVacuumLimit() triggered by find_multixact_st