On 05/08/13 14:05, Wenceslao Grillo wrote:
> conn = psycopg2.connect(host="42.42.42.42", port=5432,
> database="myDB", user="myUser", password="********")
> if conn is None:
> sys.exit("Connection failed")
> print "Connection successful"
>
> Prints the following:
>
> DEBUG: CommitTransaction
> DEBUG: name: unnamed; blockState: STARTED; state: INPROGR,
> xid/subid/cid: 0/1/0, nestlvl: 1, children:
> Connection successful
Those messages are from Postgres itself. The second one is a DEBUG3
message in the module backend/access/transam/xact.c. I'd look at the
logging settings in your postgresql.conf.
Joe