Print postgres version on start in a single-session mode
This commit is contained in:
@@ -79,6 +79,10 @@ func initClient() {
|
||||
exitWithMessage(err.Error())
|
||||
}
|
||||
|
||||
if !command.Opts.Sessions {
|
||||
fmt.Printf("Server runs PostgreSQL v%s\n", cl.ServerVersion())
|
||||
}
|
||||
|
||||
fmt.Println("Checking database objects...")
|
||||
_, err = cl.Objects()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user