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

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

Thanks, this worked.

--
Simon Brooke, Technical Director, Weft Technology Ltd --
http://www.weft.co.uk/

    the weft is not just what binds the web: it is what makes it a web

pgsql-general by date:

Previous
From: brianb-pggeneral@edsamail.com
Date:
Subject: Re: rebuilding a table from a datafile
Next
From: ellen@wordbot.com
Date:
Subject: Is tab whitespace?