OperationalError while using postgresql through python

From: bijoy franco <bijoy(dot)franco(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: OperationalError while using postgresql through python
Date: 2009-03-31 18:11:33
Message-ID: 358348b30903311111h3eb5a25cx2b8f0e8d47a521fe@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-novice by date

  From Date Subject
Next Message Damian Carey 2009-03-31 23:48:07 SQL Syntax advice request
Previous Message Tom Lane 2009-03-31 04:56:09 Re: performance: delete+insert versus update