Re:Postgres wire compatible SQLite proxy
by benbjohnson on Friday April 01, 2022 @11:46AM
(#30879414)
Yeah, jackc/pgproto3 is great. When I first started the project, I was digging through the protocol documentation and expecting to write message parsers. But pgproto3 handles all that. Almost all the real code in Postlite is in a 500 LOC file[1]. I was surprised how easy it was.
[1]: https://github.com/benbjohnson/postlite/blob/main/server.go