New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot debug function from database explorer due to missing extension plpgsql #59
Comments
Did you install the debugger extension on your database?
If it's installed please give me the result of
|
Yes, the extension is installed. Debugging works from a console window. The error only occurs when debugging a function from the context menu in database explorer. Please find below the requested output:
|
Hi @stevenmccormack, I can't reproduce the problem yet. The problem seems to be a search_path issue, in fact the dialog displays all detected extensions for the session. It shows only plpgsql installed on the builtin pg_catalog schema. All extensions installed on public schema are not available with the session created from the database tree, they are not displayed into the dialog. The basic solution is to make public schema available from your session or installing debugger extension to your target schema. I will investigate this issue to find a fix.
Then, In the datasource config, check if both public and test_schema is introspected or reset introspection. |
Hi @ng-galien, |
I've tried to reproduce the problem. IDEA: Build #IU-221.5080.210, built on April 12, 2022 PG use my customized image
I run the command
And the problem does not appears yet. |
@stevenmccormack |
Hi @ng-galien, I just tried the new version and can confirm 221.1.3 fixed it for me. Thanks! |
Describe the bug
When I try to debug a function by right clicking and selecting "Debug Routine" in the explorer I receive the following error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Function is debugged
Desktop (please complete the following information):
Additional context
Debugging the following from a console window works as expected:
The text was updated successfully, but these errors were encountered: