Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat(pg): log platform before installing postgres for debugging the demo site (#625)

Danny Xua85ec4a509a4
diff --git a/resources/resources.go b/resources/resources.go
index b66552bd12..be65443a01 100644
--- a/resources/resources.go
+++ b/resources/resources.go
@@ -5,6 +5,7 @@ import (
"bytes"
"fmt"
"io"
+ "log"
"os"
"os/exec"
"path"
@@ -27,6 +28,7 @@ var postgresLinux []byte
func InstallPostgres(resourceDir, pgDataDir string) (string, error) {
var version string
var data []byte
+ log.Printf("Installing Postgres OS %q Arch %q\n", runtime.GOOS, runtime.GOARCH)
switch runtime.GOOS {
case "darwin":
version, data = "postgres-darwin-amd64-14.2.0", postgresDarwin