aboutsummaryrefslogtreecommitdiff
path: root/src/config.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/config.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/config.zig')
-rw-r--r--src/config.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.zig b/src/config.zig
index eb2a52b..b4e7cff 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -8,6 +8,6 @@ address: union(enum){
net: std.net.Address,
unix: []const u8,
},
-database: ?[]const u8,
+database: ?[]const u8 = null,
user: []const u8,
-password: []const u8,
+password: ?[]const u8 = null,