Re: [GENERAL] Linking legacy PHP stuff

2000-08-19 Thread Simon Brooke
Tom Lane wrote: > > Simon Brooke <[EMAIL PROTECTED]> writes: > > curr_conn = result->conn; > > if ((curr_conn == NULL) && (pgTypeRes==0)) { > > Get rid of curr_conn and the ensuing test on same, is my advice. > This code should never have been reaching inside PGresult to begin >

Re: [GENERAL] Linking legacy PHP stuff

2000-08-18 Thread Tom Lane
Simon Brooke <[EMAIL PROTECTED]> writes: > curr_conn = result->conn; > if ((curr_conn == NULL) && (pgTypeRes==0)) { Get rid of curr_conn and the ensuing test on same, is my advice. This code should never have been reaching inside PGresult to begin with...

Re: [GENERAL] Linking legacy PHP stuff

2000-08-18 Thread Tom Lane
Lamar Owen <[EMAIL PROTECTED]> writes: > At 6.4, there was a protocol change that renders clients for libpq > version 1 incapable of connecting or using servers using protocol > version 2. Thus, unless you want to do surgery on PHP/FI 2, you will > have to stick with PostgreSQL 6.3.2 or earlier.