Is it possible to display debug informations in some maybe separate window? I would like to see messages from my procedures. I mean:
RAISE NOTICE 'Some message %', some_variable
RAISE DEBUG 'Some message %', some_variable
and so on.
Is it possible to display debug informations in some maybe separate window? I would like to see messages from my procedures. I mean:
RAISE NOTICE 'Some message %', some_variable
RAISE DEBUG 'Some message %', some_variable
and so on.
Understood. You can't run it alone. It is used in function/procedure body. You can try nonymous block f.e.
DO language plpgsql $$
BEGIN
RAISE NOTICE 'hello, world!';
END
$$;
(taken from) htp... stackoverflow.com / questions / 18828127 / how-to-run-an-ad-hoc-script-in-postgresql
.
Please login to leave a reply, or register at first.