pgsql: Correct statement to actually be the intended assert statement.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Correct statement to actually be the intended assert statement.
Date: 2015-12-14 10:27:48
Message-ID: E1a8QM8-0003na-Hv@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2015-12-14 10:55:25 pgsql: Fix bug in SetOffsetVacuumLimit() triggered by find_multixact_st
Previous Message Andres Freund 2015-12-14 10:27:44 pgsql: Correct statement to actually be the intended assert statement.