Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 72737 invoked from network); 13 Dec 2003 02:56:03 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Dec 2003 02:56:03 -0000 Received: (qmail 53650 invoked by uid 500); 13 Dec 2003 02:55:45 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 53431 invoked by uid 500); 13 Dec 2003 02:55:44 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 53418 invoked from network); 13 Dec 2003 02:55:44 -0000 Received: from unknown (HELO mail.eskimo.com) (204.122.16.4) by daedalus.apache.org with SMTP; 13 Dec 2003 02:55:44 -0000 Received: from urth.org (gw01-chv-nc-209-111-95-193.rasserver.net [209.111.95.193]) by mail.eskimo.com (8.9.1a/8.8.8) with ESMTP id SAA29339; Fri, 12 Dec 2003 18:55:47 -0800 (PST) Message-ID: <3FDA7F87.5080101@urth.org> Date: Fri, 12 Dec 2003 21:55:03 -0500 From: Terrence Brannon User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031030 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Brooks CC: embperl@perl.apache.org, rlippan@remotelinux.com Subject: Re: DBIx::Recordset error message References: <3FD9CC90.6080104@ravenwerkes.biz> In-Reply-To: <3FD9CC90.6080104@ravenwerkes.biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Daniel Brooks wrote: > I've been using DBIx::Recordset for a while now, and it's been great. Yes, Recordset is great :) > However, just the other day I started adding some new functionality to > my program, and I've started getting this error message: > > [Fri Dec 12 09:06:29 2003] [error] [client 4.63.107.173] Premature end > of script headers: purchase.pl > [Fri Dec 12 09:06:29 2003] [error] [client 4.63.107.173] [Fri Dec 12 > 09:06:29 2003] purchase.pl: Error executing run mode 'add_item': > DBD::ChurlPg ChurlPg???? ah: http://archives.postgresql.org/pgsql-interfaces/2003-02/msg00005.php > only knows about the pg_type attribute at > /usr/lib/perl5/site_perl/5.8.0/DBIx/Database.pm line 148. That message is coming from DBD::ChurlPg's dbdimp.c // XXX this is broken: bind_param(1,1,{TYPE=>SQL_INTEGER}); if (attribs) { if (sql_type) croak ("Cannot specify both sql_type and pg_type"); if ((svp = hv_fetch((HV*)SvRV(attribs),"pg_type", 7, 0))==NULL) croak("DBD::ChurlPg only knows about the pg_type attribute"); I wish we had a confess so we could actually trace the execution stack closer. > > Anyone know what's going on? A lot of what Recordset does depends on what driver you use. I don't know what's going on but it might have to do with not knowing anything about ChurlPg. --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org