I'd like to disable nested loops
for a specific JDBC connection string (batch java application), using the PostgreSQL community driver
Is it possible to do so?
I tried this way, in vain:
jdbc:postgresql://xxx.yyy.zzz:5432/mydb?options=enable_nestloop=off
Best Answer
You can use the
options
connection parameter, as explained here:So that should look like
But I share the horse's concern that this may be a bad idea, and you should rather tune your queries.