OperationalError while using postgresql through python

Поиск
Список
Период
Сортировка
От bijoy franco
Тема OperationalError while using postgresql through python
Дата
Msg-id 358348b30903311111h3eb5a25cx2b8f0e8d47a521fe@mail.gmail.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: performance: delete+insert versus update
Следующее
От: Damian Carey
Дата:
Сообщение: SQL Syntax advice request