Outdated This document is no longer maintained. Refer to the latest version.

Connecting to a Database

  1. Use the psycopg2.connect function to obtain the connection object.
  2. Use the connection object to create a cursor object.
Feedback
    openGauss 2026-11-22 20:51:03
    cancel