X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 425A0D1C9C9 for ; Tue, 5 Aug 2003 12:45:28 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 04409-06 for ; Tue, 5 Aug 2003 09:44:12 -0300 (ADT) Received: from druid.net (druid.net [216.126.72.98]) by svr1.postgresql.org (Postfix) with ESMTP id 1DCF0D1C7EF for ; Tue, 5 Aug 2003 09:45:17 -0300 (ADT) Received: by druid.net (Postfix, from userid 1000) id E0A8F1A32; Tue, 5 Aug 2003 08:45:23 -0400 (EDT) From: "D'Arcy J.M. Cain" Reply-To: darcy@PyGreSQL.org Organization: PyGreSQL Development Group To: "Alastair G. Hogge" , pgsql-interfaces@postgresql.org Subject: Re: Seeking PyGreSQL help Date: Tue, 5 Aug 2003 08:45:23 -0400 User-Agent: KMail/1.5.2 References: <200308051816.06256.agh@tpg.com.au> <200308052009.47746.agh@tpg.com.au> <200308052241.10612.agh@tpg.com.au> In-Reply-To: <200308052241.10612.agh@tpg.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308050845.23344.darcy@PyGreSQL.org> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/24 X-Sequence-Number: 4378 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