pgsql: Fix overflow check and comment in GIN posting list encoding.

2019-08-28 Thread Heikki Linnakangas
Fix overflow check and comment in GIN posting list encoding. The comment did not match what the code actually did for integers with the 43rd bit set. You get an integer like that, if you have a posting list with two adjacent TIDs that are more than 2^31 blocks apart. According to the comment, we w

pgsql: Fix overflow check and comment in GIN posting list encoding.

2019-08-28 Thread Heikki Linnakangas
Fix overflow check and comment in GIN posting list encoding. The comment did not match what the code actually did for integers with the 43rd bit set. You get an integer like that, if you have a posting list with two adjacent TIDs that are more than 2^31 blocks apart. According to the comment, we w

pgsql: Fix overflow check and comment in GIN posting list encoding.

2019-08-28 Thread Heikki Linnakangas
Fix overflow check and comment in GIN posting list encoding. The comment did not match what the code actually did for integers with the 43rd bit set. You get an integer like that, if you have a posting list with two adjacent TIDs that are more than 2^31 blocks apart. According to the comment, we w

pgsql: Fix overflow check and comment in GIN posting list encoding.

2019-08-28 Thread Heikki Linnakangas
Fix overflow check and comment in GIN posting list encoding. The comment did not match what the code actually did for integers with the 43rd bit set. You get an integer like that, if you have a posting list with two adjacent TIDs that are more than 2^31 blocks apart. According to the comment, we w

pgsql: Fix overflow check and comment in GIN posting list encoding.

2019-08-28 Thread Heikki Linnakangas
Fix overflow check and comment in GIN posting list encoding. The comment did not match what the code actually did for integers with the 43rd bit set. You get an integer like that, if you have a posting list with two adjacent TIDs that are more than 2^31 blocks apart. According to the comment, we w

pgsql: Fix overflow check and comment in GIN posting list encoding.

2019-08-28 Thread Heikki Linnakangas
Fix overflow check and comment in GIN posting list encoding. The comment did not match what the code actually did for integers with the 43rd bit set. You get an integer like that, if you have a posting list with two adjacent TIDs that are more than 2^31 blocks apart. According to the comment, we w

pgsql: Fix overflow check and comment in GIN posting list encoding.

2019-08-28 Thread Heikki Linnakangas
Fix overflow check and comment in GIN posting list encoding. The comment did not match what the code actually did for integers with the 43rd bit set. You get an integer like that, if you have a posting list with two adjacent TIDs that are more than 2^31 blocks apart. According to the comment, we w