"Kevin Jenkins" <gameprogrammer(at)rakkar(dot)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