Re: How to print explain using PHP

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

El Mar 09 Ene 2001 16:30, Karel Zak escribió:
> 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);

I think it would be of great help for web programers that use postgres. Any
way, I'm doing some messy things to get what I want, but it is a very
needfull extension.

Saludos... :-)

--
System Administration: It's a dirty job,
but someone told I had to do it.
-----------------------------------------------------------------
Martín Marqués email: martin(at)math(dot)unl(dot)edu(dot)ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2001-01-09 19:43:17 Re: [HACKERS] How to print explain using PHP
Previous Message Karel Zak 2001-01-09 19:30:43 Re: [HACKERS] How to print explain using PHP

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-01-09 19:43:17 Re: [HACKERS] How to print explain using PHP
Previous Message Karel Zak 2001-01-09 19:30:43 Re: [HACKERS] How to print explain using PHP