pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dan Wilson <phpPgAdmin@acucore.com>
To: pgsql general <pgsql-general@postgresql.org>
To: pgsql-php@postgresql.org
Subject: Trapping NOTICE using PHP
Date: Mon, 12 Feb 2001 22:43:51 -0800
Message-ID: <00ac01c09588$5488db80$078353d8@danwilson> (raw)

Is there any way to trap the NOTICE output (specifically in PHP)?  I would
like to impliment an EXPLAIN feature in phpPgAdmin and have been
unsuccessful in finding a way to do this because all the information
returned by EXPLAIN is in a NOTICE.

Any ideas?

-Dan




view thread (2+ messages)  latest in thread

Message-ID: <00ac01c09588$5488db80$078353d8@danwilson>
Permalink:  ../00ac01c09588$5488db80$078353d8@danwilson/
Also on:    postgresql.org/message-id/00ac01c09588$5488db80$078353d8@danwilson

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: phpPgAdmin@acucore.com, pgsql-general@postgresql.org
  Subject: Re: Trapping NOTICE using PHP
  In-Reply-To: <00ac01c09588$5488db80$078353d8@danwilson>
  References: <00ac01c09588$5488db80$078353d8@danwilson>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox