Can we use RAISE NOTICE
in postgres as equivalent of RAISERROR
\'message to display\' WITH NOWAIT
in SQL Server, or is there a better way
you can use very simple statement in function everywhere.
DO $$ begin raise notice '%',now(); end; $$;
function for reference:
create or replace function test() RETURNS bool AS '
begin
raise notice ''%'',now();
for i IN 0..50000000 loop
end loop
raise notice ''%'',now();
return true;
end;
LANGUAGE 'plpgsql';