Re: Printing Notices to the web?
От | Dan Wilson |
---|---|
Тема | Re: Printing Notices to the web? |
Дата | |
Msg-id | 002d01c0e473$8be645b0$523987cf@corp.peoplesoft.com обсуждение исходный текст |
Ответ на | Printing Notices to the web? ("Marc Sherman" <msherman@projectile.ca>) |
Ответы |
Re: Printing Notices to the web?
Re: Printing Notices to the web? Re: Printing Notices to the web? |
Список | 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 по дате отправления: