Re: How to print explain using PHP

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: How to print explain using PHP
Дата
Msg-id 200101091943.OAA25461@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: How to print explain using PHP  (Karel Zak <zakkr@zf.jcu.cz>)
Ответы Re: How to print explain using PHP  (Karel Zak <zakkr@zf.jcu.cz>)
Список 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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Martin A. Marques"
Дата:
Сообщение: Re: How to print explain using PHP
Следующее
От: Karel Zak
Дата:
Сообщение: Re: How to print explain using PHP