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

Started by Andres Freundover 10 years ago1 messagescomitters
Jump to latest
#1Andres Freund
andres@anarazel.de

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_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/819aceaa0e7f7de07885fe8b136d0dd3aba1229a

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

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers