Re: Linking legacy PHP stuff

From: Simon Brooke <simon(at)weft(dot)co(dot)uk>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Postgres General mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Linking legacy PHP stuff
Date: 2000-08-19 17:16:31
Message-ID: 399EC0EF.4D82DE4A@weft.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
>
> Simon Brooke <simon(at)weft(dot)co(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-08-19 21:24:52 Re: Is tab whitespace?
Previous Message brianb-pggeneral 2000-08-19 15:53:19 Re: rebuilding a table from a datafile