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 E1a8QM4-0003nC-RT@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_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/ea3f30cf69f44ba7c37e0cccfb0aa74d82c98e54

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: Correct statement to actually be the intended assert statement.