aboutsummaryrefslogtreecommitdiff
path: root/src/error_response.zig
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2023-09-23 21:26:06 +0100
committerMartin Ashby <martin@ashbysoft.com>2023-09-23 21:26:06 +0100
commitddc6bee3757d3e68a14fafdc47eb5d0a0ba923bb (patch)
tree309ffbc89c42a3adf41a655025fe20e4014878c9 /src/error_response.zig
parent5a91b37ee7dd36db52dfde1727b780ec3fa4c67d (diff)
downloadpgz-ddc6bee3757d3e68a14fafdc47eb5d0a0ba923bb.tar.gz
pgz-ddc6bee3757d3e68a14fafdc47eb5d0a0ba923bb.tar.bz2
pgz-ddc6bee3757d3e68a14fafdc47eb5d0a0ba923bb.tar.xz
pgz-ddc6bee3757d3e68a14fafdc47eb5d0a0ba923bb.zip
Got a working test connecting to postgres server and reading data.
Added a couple more message types to facilitate this.
Diffstat (limited to 'src/error_response.zig')
-rw-r--r--src/error_response.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error_response.zig b/src/error_response.zig
index 4d99ba4..3b66c15 100644
--- a/src/error_response.zig
+++ b/src/error_response.zig
@@ -4,7 +4,7 @@ const ByteArrayList = std.ArrayList(u8);
const ProtocolError = @import("main.zig").ProtocolError;
const ErrorResponse = @This();
-const Tag: u8 = 'E';
+pub const Tag: u8 = 'E';
buf: ?[]const u8 = null, // owned
severity: []const u8,