skip to Main Content

PostgreSQL tries to connect to wrong DB

Postgresql tries to connect to a Db with the same name as the user, even when I specify the DB name in the connection string. Cadena de conexión: host=localhost port=5432 user=carsUser password= dbname=the-new-cars sslmode=disable 2024/06/22 16:00 Error al hacer ping…

VIEW QUESTION

Postgresql – IN works slow without explicit data

This query: select id from user u where u.account_id = 600 returns: 61,71,68,69,70,118,116,117,248,381,384,325,265,393 and it works really fast. This query: select * from logs l where l.user_id in ( 61,71,68,69,70,118,116,117,248,381,384,325,265,393 ) works really fast too. But why is this query:…

VIEW QUESTION
Back To Top
Search