CData Python Connector for PostgreSQL

Build 24.0.9060

Connecting

Connecting with the cdata.postgresql Module:

The connector's module is used directly to establish a connection with the data source. It does this by using a connection string as its argument. For example:
import cdata.postgresql as mod
conn = mod.connect("User=postgres;Password=admin;Database=postgres;Server=127.0.0.1;Port=5432")

Once the connection is created, you can use it to execute subsequent SQL queries.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060