Re: Plan chosen for PQexecParams - Mailing list pgsql-hackers

From Michael Fuhr
Subject Re: Plan chosen for PQexecParams
Date
Msg-id 20051121014612.GA63342@winnie.fuhr.org
Whole thread Raw
In response to Re: Plan chosen for PQexecParams  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sun, Nov 20, 2005 at 08:34:39PM -0500, Tom Lane wrote:
> Michael Fuhr <mike@fuhr.org> writes:
> > Here's a simplified client program (the original has
> > error checking but I've stripped it out for brevity; this simplified
> > version behaves the same way):
> 
> I get the same results for all three after fixing the subscripting
> mistake:
> 
> -     values[1] = "Fairview";
> +     values[0] = "Fairview";
> 
> Is your original program making the same mistake?

[Smacks forehead.]

Argh, that's what I get for thinking in one language while coding
in another :-(  Yeah, that's the problem; sorry for the noise.

-- 
Michael Fuhr


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Plan chosen for PQexecParams
Next
From: Josh Berkus
Date:
Subject: Re: Data directory on read-only media