On 2015-12-13 12:37:18 -0500, Tom Lane wrote:
> Andres Freund <and...@anarazel.de> writes:
> > Fix bug leading to restoring unlogged relations from empty files.
> 
> Coverity thinks, quite correctly AFAICS, that this line you wrote in
> FlushOneBuffer() is useless:
> 
>       LWLockHeldByMe(bufHdr->content_lock);
> 
> Perhaps you meant
> 
>       Assert(LWLockHeldByMe(bufHdr->content_lock));
> 

Yes :(. I'll be back at my computer in a couple hours and will fix it
then or tomorrow morning.

Andres


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

Reply via email to