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 E1a8QLs-0003m8-3H@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_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(-)


pgsql-committers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: pgsql: Code and docs review for multiple -c and -f options in psql.
Next
From: Andres Freund
Date:
Subject: pgsql: Correct statement to actually be the intended assert statement.