aboutsummaryrefslogtreecommitdiff
path: root/src/proto/proto.zig
AgeCommit message (Collapse)Author
2023-09-29Generify ErrorResponse to allow for NoticeResponse which shares it'sHEADmainMartin Ashby
structure. Add a very basic test for running an actual query
2023-09-28Reduce allocations, the message takes ownership of the bytes read fromMartin Ashby
the stream and is responsible for deallocating, rather than copying them to their own storage.
2023-09-27Add a tagged union for all backend messages.Martin Ashby
Move read_message to proto.zig and make it return the tagged union rather than expecting a message type.
2023-09-26Generify copy response and add CopyOutResponse and CopyBothResponseMartin Ashby
2023-09-26Move protocol definitions into a subfolderMartin Ashby