public inbox for [email protected]
help / color / mirror / Atom feedFrom: Dmitry Nikitin <[email protected]>
To: [email protected]
Subject: Unclear code - please elaborate
Date: Fri, 29 Nov 2024 20:11:34 +0300
Message-ID: <[email protected]> (raw)
Hello ,
https://github.com/postgres/postgres/blob/5d39becf8ba0080c98fee4b63575552f6800b012/src/backend/optim...
bms_next_member() is allowed to return the zero as a valid value. Subsequent rt_fetch() offsets that
zero to -1 which leads to the assertion down the code. Nothing wrong here? Either zero is simply not
possible after that bms_next_member() because of some factors behind the code?
--
Best regards,
Dmitry mailto:[email protected]
view thread (4+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: Unclear code - please elaborate
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox