Hello,
I opened a pull request on the postgres jdbc, because the execution plan
could be false when calculating, leading to performance issues.
There's more on the subject here :
https://github.com/pgjdbc/pgjdbc/pull/3285
thank you in advance
Charles