Andres Freund <[email protected]> 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));

?

                        regards, tom lane


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

Reply via email to