[HACKERS] PQexecPrepared() behavior

2009-08-30 Thread Tatsuo Ishii
While looking into a pgpool-II problem reported by a user, I found weird behavior of PQexecPrepared(). Strange thing is, it seems PQexecPrepared() sends B(bind), Describe, Execute and Sync at once without checking the result of Bind message. Is this leagal from a point of view of the

Re: [HACKERS] PQexecPrepared() behavior

2009-08-30 Thread Tom Lane
Tatsuo Ishii is...@postgresql.org writes: Strange thing is, it seems PQexecPrepared() sends B(bind), Describe, Execute and Sync at once without checking the result of Bind message. Is this leagal from a point of view of the frontend/backend protocol? Yes. If we failed to do this then every