This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 158044 [details] Patch When calling SQL stored procedures having some diagnostic messages generated inside - they are NOT displayed in NetBeans' output window. With execution of the following SQL code (PostgerSQL) ... CREATE OR REPLACE FUNCTION dummy() RETURNS timestamp LANGUAGE plpgsql AS $$ DECLARE BEGIN raise notice 'dummy as (%)', now(); return now(); END $$; select dummy(); ... I expect following to be displayed in output: NOTICE: dummy as (2016-01-07 14:37:44.845092+03) Executed successfully in 0 s. Line XX, column YY I've created a patch to fix this, it also includes changes to fix issue https://netbeans.org/bugzilla/show_bug.cgi?id=257363 (otherwise $$-quotes will not be recognized)
*** Bug 127597 has been marked as a duplicate of this bug. ***
Once again thank you for for taking the time to give an example and work through the code for a possible solution. I implemented a bit different, but followed the basic idea. The change was pushed as: http://hg.netbeans.org/core-main/rev/e59601d1f5c5 In the next few days a nightly build will be produced that contains the fix. By then a message will be posted here. Please check that nightly and if you find this fixed, please change status of this issue to VERIFIED. If not please specify what did not work.
Integrated into 'main-silver', will be available in build *201601190002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e59601d1f5c5 User: Matthias Blaesing <matthias42@netbeans.org> Log: #257457: Log warnings resulting from SQL execution into SQL output window