Re: BUG #4407: Bug in PQexecPrepared when using an integer primary key that does not start at 1 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #4407: Bug in PQexecPrepared when using an integer primary key that does not start at 1
Date
Msg-id 13634.1220798976@sss.pgh.pa.us
Whole thread Raw
In response to BUG #4407: Bug in PQexecPrepared when using an integer primary key that does not start at 1  ("Kevin Jenkins" <gameprogrammer@rakkar.org>)
List pgsql-bugs
"Kevin Jenkins" <gameprogrammer@rakkar.org> writes:
> Description:        Bug in PQexecPrepared when using an integer primary key
> that does not start at 1

I'd say this is pilot error, most likely in the form of putting
parameter values into the wrong elements of the parameter arrays
passed to PQexecPrepared.  (Remember the zero'th element of those
arrays corresponds to parameter symbol $1.)

Even if I thought it was a real bug, it's impossible to investigate
without a far more complete test case than you've provided.  You
haven't shown us any client-side code.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: PG 8.3.3 - ERROR: lock AccessShareLock on object 16385/16467/0 is already held
Next
From: "prasana venkatesh"
Date:
Subject: BUG #4409: postmaster service is stopped