Re: [HACKERS] How to print explain using PHP

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] How to print explain using PHP
Date: 2001-01-09 19:30:43
Message-ID: Pine.LNX.3.96.1010109202517.12454N-100000@ara.zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers


On Tue, 9 Jan 2001, Martin A. Marques wrote:

> I'm working with PHP and Postgres, and if I try to do an EXPLAIN query, with
> PHP, to the postgres backend the output goes to the error_log file of apache
> and I don't know how to redirect that output to the browser.

Good point, before some time somebody (Bruce?) ask if anything is
needful add to PostgreSQL extension in PHP. You found that...

PHP not support libpq's routine:

PQnoticeProcessor
PQsetNoticeProcessor( PGconn *conn,
PQnoticeProcessor proc,
void *arg);

Karel

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martin A. Marques 2001-01-09 19:38:12 Re: How to print explain using PHP
Previous Message T F 2001-01-09 19:12:52 Re: starting PGSQL automatically on Redhat 6.2

Browse pgsql-hackers by date

  From Date Subject
Next Message Martin A. Marques 2001-01-09 19:38:12 Re: How to print explain using PHP
Previous Message Tom Lane 2001-01-09 19:25:42 Re: Quite strange crash