Re: Deletion errors - can't bind a reference (PostgreSQL)

[prev] [thread] [next] [Date index for 2004/06/23]

From: William McKee
Subject: Re: Deletion errors - can't bind a reference (PostgreSQL)
Date: 12:01 on 23 Jun 2004
On Wed, Jun 23, 2004 at 11:57:04AM +0200, Andreas Sliwka wrote:
> > users/testerCan't delete users/tester: Can't bind a reference
> > (QT::DBI::Users=HASH(0xa099984)) at
> > /usr/local/lib/perl5/site_perl/5.8.3/DBIx/ContextualFetch.pm line 53.
> > 
> >
> Hm, judging from my own experience you have a has_a on a primary key 
> somewhere?

Hi Andreas,

Thanks for the response. The has_a is on a foreign key which, as you'd
expect, is the primary key for another table. This problem is deeply
embedded into the logic of CDBI. See the thread "Need help with finding
solution to CDBI bug" for full details.


William

        -- 
        Knowmad Services Inc.
http://www.knowmad.com

Re: Deletion errors - can't bind a reference (PostgreSQL)
William McKee 12:01 on 23 Jun 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52