Skip to content
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

Outputs more variables #7

Open
ng-galien opened this issue Apr 15, 2022 · 1 comment
Open

Outputs more variables #7

ng-galien opened this issue Apr 15, 2022 · 1 comment

Comments

@ng-galien
Copy link

ng-galien commented Apr 15, 2022

Hi,I write a plugin for debugging with IntelliJ. I've modified the debugger to support variable output for records etc.
I basically use functions from the pl source tree to outputs these variables

  • exec_eval_datum
  • convert_value_to_string

Then the client is able to handle all structured data by casting the row outputs to the corresponding pg_class.
At the end the client build a JSON representation of the variable to gets its names.

https://github.com/ng-galien/idea-plpgdebugger

I hope we can integrate these enhancements to the official debugger.

@ng-galien
Copy link
Author

I've made a Docker image to use the debugger with the modifications

https://github.com/ng-galien/idea-plpgdebugger/blob/221/docker/Dockerfile

@ng-galien ng-galien changed the title Outputs more format Outputs more variables Apr 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant