Skip site navigation (1) Skip section navigation (2)

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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Kevin Jenkins" <gameprogrammer(at)rakkar(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4407: Bug in PQexecPrepared when using an integer primary key that does not start at 1
Date: 2008-09-07 14:49:36
Message-ID: 13634.1220798976@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"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

In response to

pgsql-bugs by date

Next:From: prasana venkateshDate: 2008-09-07 16:26:37
Subject: BUG #4409: postmaster service is stopped
Previous:From: Tom LaneDate: 2008-09-07 14:40:14
Subject: Re: PG 8.3.3 - ERROR: lock AccessShareLock on object 16385/16467/0 is already held

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group