Skip to content

Fix a group of bugs in plugin SQL API

Denis Smirnov requested to merge sd/fix_plugin_in_pgproto into master

Summary

  • feat: test plugin sql api with pgproto

  • fix: create plugin for non-superuser

Plugin installation doesn't pass through a regular raft pipeline for DDL commands. As a result, we didn't check superuser privileges for the user. And it could case panic on an attempt to write to the raft log (the regular user doesn't have permission for it).

  • fix: plugin SQL via pgproto

  • fix: sbroad panic on drop plugin parsing


Edited by Denis Smirnov

Merge request reports