Use `dbname` instead of the deprecated `database` connection parameter for psycopg2.