【问题标题】:ubuntu `env: ‘pg_dump’: No such file or directory` errorubuntu`env:'pg_dump':没有这样的文件或目录`错误
【发布时间】:2016-12-29 16:00:21
【问题描述】:

ubuntu 16.10 中缺少 pg_dump 环境变量或文件。运行并安装sudo apt-get install postgresql-client(参见what is the meaning of the pg_dump and pg_restore errors)后,错误仍然存​​在。我必须安装什么环境变量或软件包才能解决此错误。

【问题讨论】:

    标签: postgresql ubuntu


    【解决方案1】:

    这就是我解决问题的方法。我检查了 pg_dump pg_dump --version 的版本。如果未安装 pg_dump,请使用 sudo apt-get install postgresql-client-common

    【讨论】:

      猜你喜欢
      • 2011-04-08
      • 1970-01-01
      • 2019-08-31
      • 1970-01-01
      • 2021-02-25
      • 2018-01-16
      • 1970-01-01
      • 2013-10-25
      • 2018-11-12
      相关资源
      最近更新 更多