summaryrefslogtreecommitdiffstats
path: root/src/commands/db.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/db.rs')
-rw-r--r--src/commands/db.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/db.rs b/src/commands/db.rs
index f79306b..c0b1a5c 100644
--- a/src/commands/db.rs
+++ b/src/commands/db.rs
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2020-2021 science+computing ag and other contributors
+// Copyright (c) 2020-2022 science+computing ag and other contributors
//
// This program and the accompanying materials are made
// available under the terms of the Eclipse Public License 2.0
@@ -85,10 +85,10 @@ fn cli(db_connection_config: DbConnectionConfig<'_>, matches: &ArgMatches) -> Re
.map_err(Error::from)
.and_then(|out| {
if out.status.success() {
- info!("pgcli exited successfully");
+ info!("psql exited successfully");
Ok(())
} else {
- Err(anyhow!("gpcli did not exit successfully"))
+ Err(anyhow!("psql did not exit successfully"))
.with_context(|| match String::from_utf8(out.stderr) {
Ok(log) => anyhow!("{}", log),
Err(e) => anyhow!("Cannot parse log into valid UTF-8: {}", e),
@@ -120,7 +120,7 @@ fn cli(db_connection_config: DbConnectionConfig<'_>, matches: &ArgMatches) -> Re
info!("pgcli exited successfully");
Ok(())
} else {
- Err(anyhow!("gpcli did not exit successfully"))
+ Err(anyhow!("pgcli did not exit successfully"))
.with_context(|| match String::from_utf8(out.stderr) {
Ok(log) => anyhow!("{}", log),
Err(e) => anyhow!("Cannot parse log into valid UTF-8: {}", e),