BlockNumber initialized to InvalidBuffer?
Markus Wanner <markus@bluegap.ch>
From: Markus Wanner <markus@bluegap.ch>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2012-07-10T13:07:56Z
Lists: pgsql-hackers
Attachments
- pg-gin-strange-initialization.diff (text/x-patch) patch
Hackers, I stumbled across an initialization of a BlockNumber with InvalidBuffer, which seems strange to me, as the values for "invalid" of the two types are different, see attached patch. In case the 'stack' argument passed to that function is not NULL, the variable in question gets overridden immediately, in which case it certainly doesn't matter. I don't know nor did I check whether or not it can ever be NULL. So this might not be a real issue at all. Regards Markus Wanner