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:32
Message-ID: E1a8QLs-0003m8-3H@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_5_STABLE

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

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:27:35 pgsql: Correct statement to actually be the intended assert statement.
Previous Message Andres Freund 2015-12-14 10:27:28 pgsql: Correct statement to actually be the intended assert statement.