Re: Linking legacy PHP stuff - Mailing list pgsql-general

From Tom Lane
Subject Re: Linking legacy PHP stuff
Date
Msg-id 20878.966645876@sss.pgh.pa.us
Whole thread Raw
In response to Linking legacy PHP stuff  (Simon Brooke <simon@weft.co.uk>)
List pgsql-general
Simon Brooke <simon@weft.co.uk> 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...

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Linking legacy PHP stuff
Next
From: Mark Kirkwood
Date:
Subject: Re: Unimpletmented features