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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-interfaces by date

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