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

Re: Seeking PyGreSQL help

From: "D'Arcy J(dot)M(dot) Cain" <darcy(at)PyGreSQL(dot)org>
To: "Alastair G(dot) Hogge" <agh(at)tpg(dot)com(dot)au>,pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Seeking PyGreSQL help
Date: 2003-08-05 12:45:23
Message-ID: 200308050845.23344.darcy@PyGreSQL.org (view raw or flat)
Thread:
Lists: pgsql-interfaces
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)")

-- 
D'Arcy J.M. Cain
PyGreSQL Development Group
http://www.PyGreSQL.org

In response to

Responses

pgsql-interfaces by date

Next:From: Alastair G. HoggeDate: 2003-08-05 12:53:37
Subject: Re: Seeking PyGreSQL help
Previous:From: D'Arcy J.M. CainDate: 2003-08-05 12:42:32
Subject: Re: Seeking PyGreSQL help

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