Possibly because JDBC does everything using the V3 protocol whereas psql does not. psql uses simple query.
Maybe JDBC is doing something else? I cannot duplicate the error when doing it via the protocol (DBD::Pg) or via psql. Even forcing non-server-side prepares (i.e. making the driver replace the vars itself) fails to fail.
From:
Greg Sabino Mullane Date: Subject:
Re: BUG #19357: PostgreSQL generates a custom plan that performs worse than the generic plan for a certain query.
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.