python连接Greenplum子节点

dsn_str="10.20.151.11:30001:aligputf8:etl:etl:-c gp_session_role=utility:1"
host_str="10.20.151.11:30001"
conn = pgdb.connect(dsn=dsn_str, host=host_str)

你可能感兴趣的:(python,session,GreenPlum)