Python Connector for PostgreSQL

Connection parameters - Python Connector for PostgreSQL

Connection parameters

The following table describes the PostgreSQL connection parameters you can use in the connect() module method.

Parameter Description

Server

The server name or IP address

Port

The port number. The default value is 5432.

UserId

The name of the database user

Password

The password of the database user

Database

The name of the database

Schema

The schema search path. The default value is public.

Protocol

The version of the PostgreSQL messaging protocol.

The possible values are pvAuto, pv30, and pv20. The default value is pvAuto.

PoolId

The ID of a connection pool that will be used for a particular connection

DisablePooling

Disables connection pooling for a particular connection.

The possible values are True and False. The default value is False.

© 2022-2025 Devart. All Rights Reserved. Request Support Python Connectors Forum Provide Feedback