Sunday, September 7, 2008

Re: [BUGS] BUG #4407: Bug in PQexecPrepared when using an integer primary key that does not start at 1

"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

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

No comments: