On Tuesday, 05 August 2003 22:45, D'Arcy J.M. Cain wrote:
On Tuesday 05 August 2003 08:41, Alastair G. Hogge wrote:
"db.query("INSERT INTO test VALUES (temp, 'none')")" is the line causing
the problem. The internel server error from apache.
What happens when you try doing that line directly into psql? I don't know
what your schema for test is but perhaps what you want is this:

db.query("INSERT INTO test VALUES (temp, NULL)")
In pyhton?
temp = "hello"
db.query("INSERT INTO test VALUES (temp, NULL)")
Traceback (most recent call last):
File "<stdin>", line 1, in ?
_pg.error: ERROR: Attribute "temp" not found

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 7 of 9 | next ›
Discussion Overview
grouppgsql-interfaces @
categoriespostgresql
postedAug 5, '03 at 8:16a
activeAug 6, '03 at 1:23a
posts9
users2
websitepostgresql.org
irc#postgresql

People

Translate

site design / logo © 2022 Grokbase