pgsql: Add .gitignore file forgotten in commit bde7493d1.

2019-08-28 Thread Tom Lane
Add .gitignore file forgotten in commit bde7493d1. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/744c848dce64fd55970fcf7e9039008cbff2627e Modified Files -- src/test/modules/test_ginpostinglist/.gitignore | 4 1 file changed, 4 insertions(+)

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

pgsql: Avoid catalog lookups in RelationAllowsEarlyPruning().

2019-08-28 Thread Thomas Munro
Avoid catalog lookups in RelationAllowsEarlyPruning(). RelationAllowsEarlyPruning() performed a catalog scan, but is used in two contexts where that was a bad idea: 1. In heap_page_prune_opt(), which runs very frequently in some large scans. This caused major performance problems in a field

pgsql: Avoid catalog lookups in RelationAllowsEarlyPruning().

2019-08-28 Thread Thomas Munro
Avoid catalog lookups in RelationAllowsEarlyPruning(). RelationAllowsEarlyPruning() performed a catalog scan, but is used in two contexts where that was a bad idea: 1. In heap_page_prune_opt(), which runs very frequently in some large scans. This caused major performance problems in a field

pgsql: Avoid catalog lookups in RelationAllowsEarlyPruning().

2019-08-28 Thread Thomas Munro
Avoid catalog lookups in RelationAllowsEarlyPruning(). RelationAllowsEarlyPruning() performed a catalog scan, but is used in two contexts where that was a bad idea: 1. In heap_page_prune_opt(), which runs very frequently in some large scans. This caused major performance problems in a field

pgsql: Avoid catalog lookups in RelationAllowsEarlyPruning().

2019-08-28 Thread Thomas Munro
Avoid catalog lookups in RelationAllowsEarlyPruning(). RelationAllowsEarlyPruning() performed a catalog scan, but is used in two contexts where that was a bad idea: 1. In heap_page_prune_opt(), which runs very frequently in some large scans. This caused major performance problems in a field