Hi Jeff, Thank you for suggestion, yes we tested without Pgsphere index ( dropped the index) in PGSQL 10.9 , run same SQL and got the expected result which is same as the one in PG 9.5 but different f when using the PG sphere in 10.9( which returned null rows),
explain SELECT count(*), min(degrees(long(pos))), max(degrees(long(pos))), min(degrees(lat(pos))), max(degrees(lat(pos))) From: Jeff Janes <jeff.janes@xxxxxxxxx>
Sent: Monday, October 21, 2019 3:20 PM To: Ghiurea, Isabella Cc: pgsql-admin@xxxxxxxxxxxxxx Subject: Re: PGSQL 10.9 vs PGSQL 9.6 SQL query behaviour. On Mon, Oct 21, 2019 at 1:09 PM Ghiurea, Isabella <Isabella.Ghiurea@xxxxxxxxxxxxxx> wrote:
If you disable the index (`set enable_bitmapscan=off` should do that) do you get the same answer on each server?
Cheer,
Jeff
|