Re: Printing Notices to the web? - Mailing list pgsql-php

From Dan Wilson
Subject Re: Printing Notices to the web?
Date
Msg-id 002d01c0e473$8be645b0$523987cf@corp.peoplesoft.com
Whole thread Raw
In response to Printing Notices to the web?  ("Marc Sherman" <msherman@projectile.ca>)
Responses Re: Printing Notices to the web?  ("Brent R. Matzelle" <bmatzelle@yahoo.com>)
Re: Printing Notices to the web?  ("Brent R. Matzelle" <bmatzelle@yahoo.com>)
Re: Printing Notices to the web?  ("Brent R. Matzelle" <bmatzelle@yahoo.com>)
List pgsql-php
This is an issue with the pgsql PHP extension.  There is currently no way to
get that info in PHP. Personally, I think there should be a way to retrieve
a NOTICE through PHP.  Much like the pg_errormessage() function, I think
there should be a way to retrieve the NOTICES.  This could be very
functional for some things.

For example, I want to impliment EXPLAIN in phpPgAdmin.  I can't because all
the EXPLAIN output comes through a NOTICE and their is not way to get to it.

Any C/C++ gurus that would be willing to add a function like that to the
pgsql module would be my hero!

-Dan


: Is it possible to have NOTICE messages generated by calls to
: pg_exec echoed to the client, like more serious error messages
: are?  Currently, they're just being logged to syslog by php,
: which makes it difficult for me to debug them, since I don't
: know which query generated the log message.
:
: Thanks,
: - Marc
:
: ---------------------------(end of broadcast)---------------------------
: TIP 4: Don't 'kill -9' the postmaster


pgsql-php by date:

Previous
From: "Chris Ruprecht"
Date:
Subject: Control Breaks
Next
From: "Brent R. Matzelle"
Date:
Subject: Re: Printing Notices to the web?