Re: Linking legacy PHP stuff

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

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...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-08-19 00:46:05 Re: Linking legacy PHP stuff
Previous Message Webmaster MuraNet 2000-08-19 00:21:38 BIG PROBLEM !!!