Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group