Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fully support postgres messages #303

Open
eug3nix opened this issue Mar 12, 2024 · 1 comment
Open

fully support postgres messages #303

eug3nix opened this issue Mar 12, 2024 · 1 comment
Assignees
Labels

Comments

@eug3nix
Copy link
Collaborator

eug3nix commented Mar 12, 2024

Currently only NOTICE is display in the messages tab.
Add support for other message types: https://www.postgresql.org/docs/current/plpgsql-errors-and-messages.html

@eug3nix eug3nix self-assigned this Mar 12, 2024
@eug3nix
Copy link
Collaborator Author

eug3nix commented Mar 13, 2024

It seems that the only case which is not working is "raise exception"
Tested with this:

CREATE OR REPLACE PROCEDURE public.raise_notice(IN s text)
LANGUAGE plpgsql
AS $ procedure $
begin
raise warning '%', s;
raise notice '%', s;
raise info '%', s;
raise log '%', s; --
raise debug '%', s;
--raise exception '%', s;
end;
$ procedure $;

set client_min_messages to 'debug';
call raise_notice('note');

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant