Skip to content

refactor(pgproto): get rid of lua entrypoints

Maksim Kaitmazian requested to merge max/pgproto/initial-refactoring into master

Summary

  • 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.

  • refactor(pgproto): use Value from sbroad as a PgValue inner

  • refactor(pgproto): move proc_pg_* exports in a separate file

  • refactor(pgproto): leave only one describe module

After moving pgproto into picodata we can merge their implementations of Describe into a singe module.

  • refactor(pgproto): introduce backend module

The backend module implements the logic for handling postgres messages. Note that this commit doesn't bring anything new: it just moves picodata's handlers into pgproto.


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

Merge request reports