Skip to content

Commit

Permalink
example(hostname): remove variable hostname from test
Browse files Browse the repository at this point in the history
  • Loading branch information
divyenduz committed Oct 22, 2024
1 parent ad33dc4 commit 7d35e82
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion examples/pghostname_zig/expected/pghostname_zig_test.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
CREATE EXTENSION pghostname_zig;
SELECT COALESCE(length(pghostname_zig()), 0) > 0;
INFO: hostname: ubuntu buffer:ubuntu
?column?
----------
t
Expand Down
2 changes: 1 addition & 1 deletion examples/pghostname_zig/src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub fn pghostname_zig() ![]const u8 {
return "unknown";
},
};
pgzx.elog.Info(@src(), "hostname: {s} buffer:{s}", .{ hostname, buffer });
std.debug.print("buffer: {s}", .{buffer});
return hostname;
}

Expand Down

0 comments on commit 7d35e82

Please sign in to comment.