Skip to content

Commit 0e16221

Browse files
committed
example(hostname): remove variable hostname from test
1 parent c18635c commit 0e16221

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

examples/pghostname_zig/expected/pghostname_zig_test.out

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
CREATE EXTENSION pghostname_zig;
22
SELECT COALESCE(length(pghostname_zig()), 0) > 0;
3-
INFO: hostname: ubuntu
4-
53
?column?
64
----------
75
t

examples/pghostname_zig/src/main.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ comptime {
1010
fn pghostname_zig() ![]const u8 {
1111
var buffer: [std.posix.HOST_NAME_MAX]u8 = undefined;
1212
const hostname = try std.posix.gethostname(&buffer);
13-
pgzx.elog.Info(@src(), "hostname: {s}\n", .{hostname});
1413
return hostname;
1514
}
1615

0 commit comments

Comments
 (0)