pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: D'Arcy J.M. Cain <darcy@PyGreSQL.org>
To: Alastair G. Hogge <agh@tpg.com.au>
To: pgsql-interfaces@postgresql.org
Subject: Re: Seeking PyGreSQL help
Date: Tue, 5 Aug 2003 08:45:23 -0400
Message-ID: <200308050845.23344.darcy@PyGreSQL.org> (raw)
In-Reply-To: <200308052241.10612.agh@tpg.com.au>
References: <200308051816.06256.agh@tpg.com.au>
	<200308052009.47746.agh@tpg.com.au>
	<200308052241.10612.agh@tpg.com.au>

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



view thread (9+ messages)  latest in thread

Message-ID: <200308050845.23344.darcy@PyGreSQL.org>
Permalink:  ../200308050845.23344.darcy@PyGreSQL.org/
Also on:    postgresql.org/message-id/200308050845.23344.darcy@PyGreSQL.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: darcy@PyGreSQL.org, agh@tpg.com.au
  Subject: Re: Seeking PyGreSQL help
  In-Reply-To: <200308050845.23344.darcy@PyGreSQL.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox