Re: [HACKERS] How to print explain using PHP

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Cc: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>, 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:43:17
Message-ID: 200101091943.OAA25461@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

I think the issue here was that these functions don't make any sense for
PHP because you can't register C functions.

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

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karel Zak 2001-01-09 19:52:16 Re: [HACKERS] How to print explain using PHP
Previous Message Martin A. Marques 2001-01-09 19:38:12 Re: How to print explain using PHP

Browse pgsql-hackers by date

  From Date Subject
Next Message Karel Zak 2001-01-09 19:52:16 Re: [HACKERS] How to print explain using PHP
Previous Message Martin A. Marques 2001-01-09 19:38:12 Re: How to print explain using PHP