Skip to content

refactor(pgproto): get rid of lua entrypoints

Summary

  • fix(pgproto): non-admin users can't read from query cache

This commit fixes that non-admin users can't read queries from the query cache. An attempt to read from the cache used to result in the following error: sbroad error: failed to get space_def: box error: AccessDenied: Read access to space '_pico_table' is denied for user 'alex3'

  • refactor(pgproto): get rid of lua entrypoints

pgproto used to interact with picodata through lua entrypoins, but after making pgproto a picodata module, we can get rid of this lua layer and simply call corresponding rust functions.


  • Close #...
  • Changes should be cherry-picked to 24.2: no
  • Docs follow-up: not necessary / new issue
Edited by Maksim Kaitmazian

Merge request reports