OperationalError while using postgresql through python - Mailing list pgsql-novice

From bijoy franco
Subject OperationalError while using postgresql through python
Date
Msg-id 358348b30903311111h3eb5a25cx2b8f0e8d47a521fe@mail.gmail.com
Whole thread Raw
List pgsql-novice
Hi,

Python throws OperationalError while trying to do any database operations. I am using pgdb module.

error code:


raise OperationalError, "internal error in '%s': %s" % (sql,err)
pg.OperationalError: internal error in 'INSERT INTO table_book

i am not able to do any database operations apart from opening Conection and assaigning cursor object.

how do i solve this. pls help

Thanks in advance

Bijoy


pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: performance: delete+insert versus update
Next
From: Damian Carey
Date:
Subject: SQL Syntax advice request