perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Terrence Brannon <>
Subject Re: DBIx::Recordset error message
Date Sat, 13 Dec 2003 02:55:03 GMT
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] Premature end 
> of script headers:
> [Fri Dec 12 09:06:29 2003] [error] [client] [Fri Dec 12 
> 09:06:29 2003] Error executing run mode 'add_item': 
> DBD::ChurlPg

ChurlPg???? ah:

> only knows about the pg_type attribute at 
> /usr/lib/perl5/site_perl/5.8.0/DBIx/ 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 

> 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:
For additional commands, e-mail:

View raw message